|
@@ -44,11 +44,6 @@ class ParameterForm(forms.Form):
|
|
|
|
|
|
|
|
NON_PARAMETERS = (
|
|
NON_PARAMETERS = (
|
|
|
'user.name',
|
|
'user.name',
|
|
|
- 'oozie.wf.rerun.failnodes',
|
|
|
|
|
- 'oozie.wf.rerun.skip.nodes',
|
|
|
|
|
- 'oozie.wf.application.path',
|
|
|
|
|
- 'oozie.coord.application.path',
|
|
|
|
|
- 'oozie.bundle.application.path',
|
|
|
|
|
'mapreduce.job.user.name',
|
|
'mapreduce.job.user.name',
|
|
|
'wf_application_path',
|
|
'wf_application_path',
|
|
|
'jobTracker',
|
|
'jobTracker',
|
|
@@ -58,6 +53,11 @@ class ParameterForm(forms.Form):
|
|
|
'hue-id-b',
|
|
'hue-id-b',
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
+ RERUN_HIDE_PARAMETERS = {
|
|
|
|
|
+ 'security_enabled',
|
|
|
|
|
+ 'dryrun'
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@staticmethod
|
|
@staticmethod
|
|
|
def get_initial_params(conf_dict):
|
|
def get_initial_params(conf_dict):
|
|
|
params = filter(lambda key: key not in ParameterForm.NON_PARAMETERS, conf_dict.keys())
|
|
params = filter(lambda key: key not in ParameterForm.NON_PARAMETERS, conf_dict.keys())
|