Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1058

ACL modify-job should not be hardcoded to group name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      OOZIE-907 enables child job ACLs to be applied as default to launcher job. However, the child job's "mapreduce.job.acl-modify-job" is currently hardcoded to user's group name like follows

      if (context.getWorkflow().getAcl() != null) {
      // setting the group owning the Oozie job to allow anybody in that
      // group to kill the jobs.
      actionConf.set("mapreduce.job.acl-modify-job", context.getWorkflow().getAcl());
      }

      As a result, the user provided value for modify-job is disregarded.

        Attachments

        1. OOZIE-1058.patch
          11 kB
          Mona Chitnis

          Activity

            People

            • Assignee:
              chitnis Mona Chitnis
              Reporter:
              chitnis Mona Chitnis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified