You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/08/23 19:53:42 UTC

[jira] [Commented] (HADOOP-8723) Remove tests and tests-sources jars from classpath

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

Eli Collins commented on HADOOP-8723:
-------------------------------------

How about modifying the sleep job (and any other similar jobs) so they don't depend on the test classes?
                
> Remove tests and tests-sources jars from classpath
> --------------------------------------------------
>
>                 Key: HADOOP-8723
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8723
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.0.0-alpha
>            Reporter: Jason Lowe
>            Assignee: Jason Lowe
>         Attachments: HADOOP-8723.patch
>
>
> Currently {{hadoop-config.sh}} is including any tests and tests-sources jars in the default classpath, as those jars are shipped in the dist tarball next to the main jars and the script is globbing everything in that directory.
> The tests and tests-sources jars aren't required to run Hadoop, but they can cause breakage when inadvertently picked up.  See HDFS-3831 as an example.  Ideally we should not be adding these jars to the classpath.

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