Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
As mentioned by Scott Carey in https://issues.apache.org/jira/browse/MAPREDUCE-3378?focusedCommentId=13173437&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13173437, we need to make sure that components are declaring the correct set of dependencies. In current trunk there are errors of omission and commission (as reported by 'mvn dependency:analyze'):
- "Used undeclared dependencies" - these are dependencies that are being met transitively. They should be added explicitly as "compile" or "provided" scope.
- "Unused declared dependencies" - these are dependencies that are not needed for compilation, although they may be needed at runtime. They certainly should not be "compile" scope - they should either be removed or marked as "runtime" or "test" scope.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-7161 Remove unnecessary oro package from dependency management section
- Resolved
-
HADOOP-12893 Verify LICENSE.txt and NOTICE.txt
- Closed
-
HADOOP-8762 Mark container-provided dependencies with 'provided' scope
- Patch Available
-
MAPREDUCE-4632 Make sure MapReduce declares correct set of dependencies
- Open
-
YARN-81 Make sure YARN declares correct set of dependencies
- Open
-
MAPREDUCE-3378 Create a single 'hadoop-mapreduce' Maven artifact
- Resolved