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 "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2012/12/05 05:54:58 UTC
[jira] [Created] (HADOOP-9116) test and source JARs should not be
in cluster classpath
Alejandro Abdelnur created HADOOP-9116:
------------------------------------------
Summary: 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
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
[jira] [Commented] (HADOOP-9116) test and source JARs should not be
in cluster classpath
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510278#comment-13510278 ]
Alejandro Abdelnur commented on HADOOP-9116:
--------------------------------------------
A simple solution would be to move the test and source JARs into {{share/hadoop/<component>/tests/}} {{share/hadoop/<component>/sources/}}.
> 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
[jira] [Commented] (HADOOP-9116) test and source JARs should not be
in cluster classpath
Posted by "Jason Lowe (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (HADOOP-9116) test and source JARs should not be
in cluster classpath
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur updated HADOOP-9116:
---------------------------------------
Attachment: HADOOP-9116.patch
> 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
[jira] [Updated] (HADOOP-9116) test and source JARs should not be
in cluster classpath
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejandro Abdelnur updated HADOOP-9116:
---------------------------------------
Status: Patch Available (was: Open)
did a clean build, verified the test and source JARs are in the proposed directories. Started pseudo cluster and run a few examples to verify nothing got broken.
> 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
[jira] [Commented] (HADOOP-9116) test and source JARs should not be
in cluster classpath
Posted by "Alejandro Abdelnur (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HADOOP-9116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510627#comment-13510627 ]
Alejandro Abdelnur commented on HADOOP-9116:
--------------------------------------------
Jason, I've done a quick search before opening this JIRA but I didn't hit HADOOP-8723. Please feel free to close one of them, if closing this one, then HADOOP-8723 should move all sources JARs out of the <component> dir to <component>/sources. I like the idea of the hadoop test-classpath command.
> 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