فهرست منبع

[oozie] Create hue workspace automatically if does not exist

Fix Pig submission bug at the same time
Romain Rigaux 12 سال پیش
والد
کامیت
c9d41f0
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      apps/oozie/src/oozie/models.py

+ 1 - 0
apps/oozie/src/oozie/models.py

@@ -242,6 +242,7 @@ class WorkflowManager(TrashManager):
     self.check_workspace(workflow, fs)
 
   def check_workspace(self, workflow, fs):
+    create_directories(fs, [REMOTE_SAMPLE_DIR.get()])
     create_directories(fs)
 
     if workflow.is_shared: