|
@@ -1835,7 +1835,7 @@ class SparkAction(Action):
|
|
|
'name': 'files',
|
|
'name': 'files',
|
|
|
'label': _('Files'),
|
|
'label': _('Files'),
|
|
|
'value': [],
|
|
'value': [],
|
|
|
- 'help_text': _('Path to files put in the running directory.'),
|
|
|
|
|
|
|
+ 'help_text': _('Path to file to put in the running directory.'),
|
|
|
'type': ''
|
|
'type': ''
|
|
|
},
|
|
},
|
|
|
'class': {
|
|
'class': {
|
|
@@ -1847,10 +1847,10 @@ class SparkAction(Action):
|
|
|
},
|
|
},
|
|
|
'jars': {
|
|
'jars': {
|
|
|
'name': 'jars',
|
|
'name': 'jars',
|
|
|
- 'label': _('Jar/py names'),
|
|
|
|
|
|
|
+ 'label': _('Jar/py name'),
|
|
|
'value': '',
|
|
'value': '',
|
|
|
- 'help_text': _('Comma separated list of filenames.'),
|
|
|
|
|
- 'type': ''
|
|
|
|
|
|
|
+ 'help_text': _('Name of main file added in Files.'),
|
|
|
|
|
+ 'type': 'text'
|
|
|
},
|
|
},
|
|
|
'spark_opts': {
|
|
'spark_opts': {
|
|
|
'name': 'spark_opts',
|
|
'name': 'spark_opts',
|
|
@@ -1903,7 +1903,7 @@ class SparkAction(Action):
|
|
|
|
|
|
|
|
@classmethod
|
|
@classmethod
|
|
|
def get_mandatory_fields(cls):
|
|
def get_mandatory_fields(cls):
|
|
|
- return [cls.FIELDS['jars'], cls.FIELDS['files']]
|
|
|
|
|
|
|
+ return [cls.FIELDS['files'], cls.FIELDS['jars']]
|
|
|
|
|
|
|
|
|
|
|
|
|
class KillAction(Action):
|
|
class KillAction(Action):
|