You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/05/15 00:33:17 UTC

[jira] [Commented] (YARN-129) Simplify classpath construction for mini YARN tests

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

Hudson commented on YARN-129:
-----------------------------

Integrated in HBase-TRUNK #4117 (See [https://builds.apache.org/job/HBase-TRUNK/4117/])
    HBASE-8528 [hadoop2] TestMultiTableInputFormat always hadoop with YARN-129 applied (with Gary Helmling) (Revision 1482561)

     Result = FAILURE
jmhsieh : 
Files : 
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java

                
> Simplify classpath construction for mini YARN tests
> ---------------------------------------------------
>
>                 Key: YARN-129
>                 URL: https://issues.apache.org/jira/browse/YARN-129
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: client
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 2.0.3-alpha
>
>         Attachments: YARN-129.patch, YARN-129.patch, YARN-129.patch
>
>
> The test classpath includes a special file called 'mrapp-generated-classpath' (or similar in distributed shell) that is constructed at build time, and whose contents are a classpath with all the dependencies needed to run the tests. When the classpath for a container (e.g. the AM) is constructed the contents of mrapp-generated-classpath is read and added to the classpath, and the file itself is then added to the classpath so that later when the AM constructs a classpath for a task container it can propagate the test classpath correctly.
> This mechanism can be drastically simplified by propagating the system classpath of the current JVM (read from the java.class.path property) to a launched JVM, but only if running in the context of the mini YARN cluster. Any tests that use the mini YARN cluster will automatically work with this change. Although any that explicitly deal with mrapp-generated-classpath can be simplified.

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