[ 
https://issues.apache.org/jira/browse/HADOOP-5981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717225#action_12717225
 ] 

Hemanth Yamijala commented on HADOOP-5981:
------------------------------------------

Hmm. I don't fully understand this patch.

So, what is the requirement with respect to variable substitution in 
mapred.child.env ? Currently, it looks like unless the key has LD_LIBRARY_PATH, 
it is not going to do anything useful.

For e.g. if I have mapred.child.env with the value as "key=$value", where 
'value' is in the environment of the Tasktracker, since 'key' is not added to 
the 'env' variable in the taskrunner method, it will not work, right ? I 
thought the use case would be that if any thing in the value should be picked 
from the tasktracker's environment, it should be replaced. Isn't this the use 
case ?

> HADOOP-2838 doesnt work as expected
> -----------------------------------
>
>                 Key: HADOOP-5981
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5981
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Amar Kamat
>            Assignee: Amar Kamat
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-5981-v1.1-branch-20.patch, HADOOP-5981-v1.1.patch
>
>
> The substitution feature i.e X=$X:/tmp doesnt work as expected.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to