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

Bikas Saha resolved TEZ-273.
----------------------------

    Resolution: Cannot Reproduce

> unittest failure on windows: testMREnvSetupFor{map,reduce}
> ----------------------------------------------------------
>
>                 Key: TEZ-273
>                 URL: https://issues.apache.org/jira/browse/TEZ-273
>             Project: Apache Tez
>          Issue Type: Bug
>         Environment: windows
>            Reporter: Mike Liddell
>
> in updateEnvironmentForMRTasks, the call to getConf(          
> YarnConfiguration.YARN_APPLICATION_CLASSPATH ) is returning strings with 
> $NAME rather than %NAME%.
> These erroneous values are present immediately after line 319:
> JobConf conf = new JobConf(new Configuration());
>  -> I'm having trouble following the internals here to work out where the 
> dodgy values are coming from 
>  -> note that ApplicationConstants.Environment.XYZ.$() does the correct thing 
> on windows.. as long as we hit $() methods we should be good.
> The failure is during:
>  for (String val : YarnConfiguration.DEFAULT_YARN_APPLICATION_CLASSPATH) {
>       Assert.assertTrue(env.get(Environment.CLASSPATH.name()).contains(val));
>     }
> the default values include %VAR_XYZ% items as expected but the env has 
> %VAR_XYZ items.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to