[
https://issues.apache.org/jira/browse/HADOOP-9935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768852#comment-13768852
]
Jason Lowe commented on HADOOP-9935:
------------------------------------
I believe this broke the ability to run the test jars that are distributed in
the tarball, e.g.: TestDFSIO, sleep jobs, etc. See YARN-1205.
Actually this appears to be a duplicate of HADOOP-8738 which was reopened when
it was committed due to the same issues. I think the real fix is to have junit
and other test-only dependencies placed into directories that are not in the
standard classpath but can easily be picked up via another command for running
the tests. See HADOOP-9116.
> set junit dependency to test scope
> ----------------------------------
>
> Key: HADOOP-9935
> URL: https://issues.apache.org/jira/browse/HADOOP-9935
> Project: Hadoop Common
> Issue Type: Bug
> Components: build, test
> Affects Versions: 2.1.0-beta
> Reporter: André Kelpe
> Assignee: André Kelpe
> Fix For: 3.0.0, 2.1.1-beta
>
> Attachments: HADOOP-9935.patch, HADOOP-9935.patch
>
>
> junit should be set to scope test in hadoop-mapreduce-project and
> hadoop-yarn-project. This patch will fix the problem, that hadoop always
> pulls in its own version of junit and that junit is even included in the
> tarballs.
--
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