Browse Source

HUE-1040 [oozie] Can't use prepare field in a scheduled workflow

Nicolas Fouché 12 years ago
parent
commit
e675770978
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/oozie/src/oozie/views/editor.py

+ 1 - 1
apps/oozie/src/oozie/views/editor.py

@@ -476,7 +476,7 @@ def submit_coordinator(request, coordinator):
 
 def _submit_coordinator(request, coordinator, mapping):
   try:
-    wf_dir = Submission(request.user, coordinator.workflow, request.fs, {}).deploy()
+    wf_dir = Submission(request.user, coordinator.workflow, request.fs, mapping).deploy()
 
     properties = {'wf_application_path': request.fs.get_hdfs_path(wf_dir)}
     properties.update(mapping)