[ 
https://issues.apache.org/jira/browse/OOZIE-1640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Kanter resolved OOZIE-1640.
----------------------------------

    Resolution: Invalid

On second thought, this won't work because the user's Main isn't necessarily a 
subclass of {{LauncherMain.java}} so the method won't be available.

> 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
>              Labels: newbie
>
> 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)

Reply via email to