You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Mike Liddell (JIRA)" <ji...@apache.org> on 2013/06/25 01:06:20 UTC

[jira] [Created] (TEZ-273) unittest failure on windows: testMREnvSetupFor{map,reduce}

Mike Liddell created TEZ-273:
--------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira