You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Scott Carey (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 21:03:52 UTC
[jira] [Created] (MAPREDUCE-3414) maven artifacts (0.20.205.0) has
incorrect dependencies, leading to infinite loop in MiniMRCluster in unit
tests
maven artifacts (0.20.205.0) has incorrect dependencies, leading to infinite loop in MiniMRCluster in unit tests
----------------------------------------------------------------------------------------------------------------
Key: MAPREDUCE-3414
URL: https://issues.apache.org/jira/browse/MAPREDUCE-3414
Project: Hadoop Map/Reduce
Issue Type: Bug
Affects Versions: 0.20.205.0
Reporter: Scott Carey
(hadoop 0.20.205.0, perhaps more)
A simple unit test using MiniMRCluster will:
* Crash if jackson-jaxrs is not in scope
* Hang forever if jackson-jaxrs is in scope but jersey-core is not
Hadoop does not declare eitehr of these required dependencies in hadoop-core or hadoop-test poms. hadoop-test should at minimum include both of these declared in its pom.
The reproducible case is here:
https://github.com/scottcarey/hadoop_dependency_bug
"mvn test" works fine as is, but if you comment out the explicit dependencies in the pom you'll get the errors above.
Comment out jersey-core it will spin forever.
Comment out jackson-jaxrs and it will crash.
Both cases demonstrate that the dependency in the hadoop-test (and implicit hadoop-core) are not specified correctly in the pom.
--
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