Browse Source

HUE-6690 [oozie] Fix drag and drop of Pig script into workflow

Romain Rigaux 8 years ago
parent
commit
0150af0
1 changed files with 7 additions and 0 deletions
  1. 7 0
      apps/oozie/src/oozie/models2.py

+ 7 - 0
apps/oozie/src/oozie/models2.py

@@ -2473,6 +2473,13 @@ class PigDocumentAction(Action):
         'help_text': _('Select a saved Spark program you want to schedule.'),
         'type': 'pig'
      },
+     'parameters': {
+          'name': 'parameters',
+          'label': _('Parameters'),
+          'value': [],
+          'help_text': _('The %(type)s parameters of the script. E.g. N=5, INPUT=${inputDir}')  % {'type': TYPE.title()},
+          'type': ''
+     },
      # Common
      'files': {
           'name': 'files',