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

Balaji Rajagopalan updated MAPREDUCE-736:
-----------------------------------------

    Attachment: hadoop_env.txt

I modified the unit test case, run this test to make it fixes the original 
issue with mapred.child.env 

> Undefined variable is treated as string.
> ----------------------------------------
>
>                 Key: MAPREDUCE-736
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-736
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Suman Sehgal
>            Priority: Minor
>         Attachments: hadoop_env.txt
>
>
> This issue is related to HADOOP-2838.
> For X=$X:Y : Append Y to X (which should be taken from the tasktracker) ,  if 
>  we append to an undefined variable then value for undefined variable should 
> be displayed as blank 
> e.g. NEW_PATH=$NEW_PATH2:/tmp should be displayed as 
> ":/tmp" in child's environment 
> while that variable is being displayed as a string ("$NEW_PATH2:/tmp") in the 
> environemnt.
>  This is happening in case of default task-controller only. This scenario 
> works fine with linux task-controller.

-- 
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