Эх сурвалжийг харах

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

Romain Rigaux 10 жил өмнө
parent
commit
5ce3dc6

+ 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