You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2013/12/13 18:49:06 UTC

[jira] [Created] (OOZIE-1640) Update documentation on delegation propagation

Robert Kanter created OOZIE-1640:
------------------------------------

             Summary: Update documentation on delegation propagation
                 Key: OOZIE-1640
                 URL: https://issues.apache.org/jira/browse/OOZIE-1640
             Project: Oozie
          Issue Type: Bug
          Components: docs, security
    Affects Versions: trunk
            Reporter: Robert Kanter
            Priority: Minor


OOZIE-1500 changed
{code:java}
// 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"));
}
{code}
to 
{code:java}
// 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"));
}
{code}

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



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)