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

Update documentation on delegation propagation

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • trunk
    • None
    • docs, security

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment