소스 검색

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

Romain Rigaux 10 년 전
부모
커밋
5ce3dc6b05
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