[ 
https://issues.apache.org/jira/browse/TEZ-2393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14523423#comment-14523423
 ] 

Hitesh Shah commented on TEZ-2393:
----------------------------------

Thought of a couple of different problems. Consider: 

{code}
foo="A"
bar="B"
abc="$def:$bar"
def="D"

echo "abc=$abc"
{code}

This will print "abc=:B"

To get it to print "D:B", I think we might need to run 2 passes. 

Also, from a YARN point of view, we need to ensure that all user provided env 
vars are set up after all the framework provided values to ensure that any user 
env var that references a framework based env will be setup properly. I don't 
believe this ordering is being done today but will need to check and confirm.   
\cc [~vinodkv] 

> Tez pickup PATH env from gateway machine
> ----------------------------------------
>
>                 Key: TEZ-2393
>                 URL: https://issues.apache.org/jira/browse/TEZ-2393
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Daniel Dai
>            Assignee: Hitesh Shah
>         Attachments: TEZ-2393.1.patch
>
>
> I found this issue on Windows. When I do:
> set PATH=C:\dummy;%PATH%
> Then run a tez job. "C:\dummy" appears in PATH of the vertex container. This 
> is surprising since we don't expect frontend PATH will propagate to backend.
> [~hitesh] tried it on Linux and found the same behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to