Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8278

Make sure components declare correct set of dependencies

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.2-alpha
    • build
    • 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

        1. HADOOP-8278.patch
          17 kB
          Thomas White
        2. HADOOP-8278.patch
          17 kB
          Alejandro Abdelnur
        3. HADOOP-8278.patch
          19 kB
          Thomas White
        4. HADOOP-8278.patch
          21 kB
          Thomas White
        5. HADOOP-8278.patch
          21 kB
          Thomas White
        6. HADOOP-8278.patch
          21 kB
          Thomas White

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tomwhite Thomas White
            tomwhite Thomas White
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment