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

Jason Lowe commented on HADOOP-9116:
------------------------------------

This is basically a dup of HADOOP-8723, or vice-versa.  I think HADOOP-8723 
would have gone in quite some time ago, but note that moving the test jars out 
of the classpath makes running the tests in those jars more cumbersome.  For 
example, sleep jobs don't "just work" anymore, because they depend upon test 
code in the common test jar.  I don't think the typical user will care much, 
but QE setups will have to adapt since sleep jobs are referenced pretty often 
there.  Maybe we could add a "hadoop test-classpath" or "hadoop classpath 
tests" command to spit out the classpath for running tests to make this easier.
                
> test and source JARs should not be in cluster classpath
> -------------------------------------------------------
>
>                 Key: HADOOP-9116
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9116
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.2-alpha
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: HADOOP-9116.patch
>
>
> The classpath resolved by hadoop scripts uses {{share/hadoop/<component>/*}}, 
> thus test and source JARs end up in the classpath.

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

Reply via email to