Explorar o código

[oozie] Create hue workspace automatically if does not exist

Fix Pig submission bug at the same time
Romain Rigaux %!s(int64=12) %!d(string=hai) anos
pai
achega
c9d41f0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: