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:51:07 UTC
[jira] [Resolved] (OOZIE-1640) Update documentation on delegation
propagation
[ 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)