فهرست منبع

[spark] Provide the batch arguments as a list to livy

Romain Rigaux 10 سال پیش
والد
کامیت
5ce3dc6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      apps/spark/src/spark/models.py

+ 1 - 1
apps/spark/src/spark/models.py

@@ -479,7 +479,7 @@ class SparkBatchApi(Api):
     properties = {
         'file': snippet['properties'].get('app_jar'),
         'className': snippet['properties'].get('class'),
-        'args': [arg['value'] for arg in snippet['properties'].get('arguments')],
+        'args': snippet['properties'].get('arguments'),
         'pyFiles': snippet['properties'].get('py_file'),
         # files
         # driverMemory