Quellcode durchsuchen

HUE-8729 [oozie] Add property archive to Spark Action

Change-Id: I5282b88291910e02c658d4ddbf17b28276227e0c
Ying Chen vor 6 Jahren
Ursprung
Commit
1da717c
1 geänderte Dateien mit 8 neuen und 1 gelöschten Zeilen
  1. 8 1
      apps/oozie/src/oozie/models2.py

+ 8 - 1
apps/oozie/src/oozie/models2.py

@@ -2125,7 +2125,14 @@ class SparkAction(Action):
           'help_text': _('Path to file to put in the running directory.'),
           'type': ''
      },
-    'class': {
+     'archives': {
+          'name': 'archives',
+          'label': _('Archives'),
+          'value': [],
+          'help_text': _('zip, tar and tgz/tar.gz uncompressed into the running directory.'),
+          'type': ''
+     },
+     'class': {
           'name': 'class',
           'label': _('Main class'),
           'value': '',