[
https://issues.apache.org/jira/browse/MAPREDUCE-6021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Lowe updated MAPREDUCE-6021:
----------------------------------
Attachment: MAPREDUCE-6021-v2.patch
Thanks for the review, Daryn! I updated the patch to match TaskAttemptImpl and
also added SHELL settings to the AM env.
> MR AM should have working directory in LD_LIBRARY_PATH
> ------------------------------------------------------
>
> Key: MAPREDUCE-6021
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6021
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mr-am
> Affects Versions: 2.4.1
> Reporter: Jason Lowe
> Assignee: Jason Lowe
> Attachments: MAPREDUCE-6021-v2.patch, MAPREDUCE-6021.patch
>
>
> Tasks implicitly pick up shared libraries added to the job because the task
> launch context explicitly adds the container working directory to
> LD_LIBRARY_PATH. However the same is not done for the AM container which is
> inconsistent. User code can run in the AM via output committer, speculator,
> uber job, etc., so the AM's LD_LIBRARY_PATH should have the container work
> directory for consistency with tasks.
--
This message was sent by Atlassian JIRA
(v6.2#6252)