Prechádzať zdrojové kódy

HUE-4515 [oozie] Remove oozie.bundle.application.path from properties when rerunning workflow

krish 9 rokov pred
rodič
commit
392221044b

+ 3 - 0
desktop/libs/liboozie/src/liboozie/submission2.py

@@ -127,6 +127,9 @@ class Submission(object):
     if 'oozie.coord.application.path' in self.properties:
     if 'oozie.coord.application.path' in self.properties:
       self.properties.pop('oozie.coord.application.path')
       self.properties.pop('oozie.coord.application.path')
 
 
+    if 'oozie.bundle.application.path' in self.properties:
+      self.properties.pop('oozie.bundle.application.path')
+
     if fail_nodes:
     if fail_nodes:
       self.properties.update({'oozie.wf.rerun.failnodes': fail_nodes})
       self.properties.update({'oozie.wf.rerun.failnodes': fail_nodes})
     elif not skip_nodes:
     elif not skip_nodes: