hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmed Radwan (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4098) TestMRApps testSetClasspath fails
Date Tue, 03 Apr 2012 11:28:24 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245144#comment-13245144

Ahmed Radwan commented on MAPREDUCE-4098:

Thanks Tucu!

The environment CLASSPATH is populated using the value for YarnConfiguration.YARN_APPLICATION_CLASSPATH
from yarn-default.xml and then the test again checks if it contains the classpath from the
YarnConfiguration.YARN_APPLICATION_CLASSPATH value, so the test will always succeed regardless
of the value set for YarnConfiguration.YARN_APPLICATION_CLASSPATH. 

Do we need to keep the check against the hardcoded classpath values so the test will fail
if they were changed in yarn-default.xml? 
> TestMRApps testSetClasspath fails
> ---------------------------------
>                 Key: MAPREDUCE-4098
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4098
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.0.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>             Fix For: 2.0.0
>         Attachments: MAPREDUCE-4098.patch
> The assertion of this test is testing for equality, as the generated classpath file is
in the classpath the test fails.
> Instead, the test should test for the expected path elements to be in the classspath.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message