Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2180 [oozie] Editor revamp
  3. HUE-2376

[oozie] Different behaviors of workflow submission for workflow owner and other users

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: con.oozie
    • Labels:

      Description

      We created a shared oozie workflow in hue. The workflow directory was /user/hue/oozie/workspace. Permission of the workflow was 755. We expected other users could run this shared workflow as well. However, permission of the workflow was modified to 711 after it had been submitted by workflow owner. Then other oozie users could not run that workflow any more. We checked the source code of Submission.py and found out different behaviors for workflow owner and other users. For the owner, the deployment directory is /user/hue/oozie/workspace and permission is changed to 711 if it exists. For other users, the deployment directory is /user/hue/oozie/deployments, workflow is copied to that directory and permission is set to 711. We were wondering whether this is a bug or designed intentionally.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                romain Romain Rigaux
                Reporter:
                jwang Junwen Wang
              • Votes:
                3 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: