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

Update documentation on delegation propagation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: docs, security
    • Labels:

      Description

      OOZIE-1500 changed

      // propagate delegation related props from launcher job to MR job
      if (System.getenv("HADOOP_TOKEN_FILE_LOCATION") != null) {
          jobConf.set("mapreduce.job.credentials.binary", System.getenv("HADOOP_TOKEN_FILE_LOCATION"));
      }
      

      to

      // propagate delegation related props from launcher job to MR job
      if (getFilePathFromEnv("HADOOP_TOKEN_FILE_LOCATION") != null) {
          jobConf.set("mapreduce.job.credentials.binary", getFilePathFromEnv("HADOOP_TOKEN_FILE_LOCATION"));
      }
      

      We should update the documentation in WorkflowFunctionalSpec.twiki to use the getFilePathFromEnv method.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rkanter Robert Kanter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: