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

many undeclared used dependencies (and declared unused dependencies)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • build
    • None
    • HADOOP-12048 Clean undeclared used dependencies and declared unused dependencies

    Description

      Currently there are numerous undeclared used dependencies and declared unused dependencies in the hadoop projects.

      Undeclared used dependencies are easier errors to correct, and correcting them will lead to a better management of dependencies (enabling stricter dependency frameworks down the road).

      Declared unused dependencies are harder to resolve, as many may be legitimate runtime dependencies. But fixing them would lead to smaller profiles for hadoop projects.

      We can do a one-time scan of dependency issues and fix them. However, in the long run, it would be nice to be able to enforce those rules via maven plug-in.

      Attachments

        1. dependency-analysis.txt
          53 kB
          Sangjin Lee
        2. HADOOP-12048.1.patch
          9 kB
          Gabor Liptak
        3. HADOOP-12048.2.patch
          9 kB
          Gabor Liptak
        4. HADOOP-12048.3.patch
          14 kB
          Gabor Liptak
        5. hadoop-unused.txt
          88 kB
          Gabor Liptak

        Issue Links

          Activity

            People

              gliptak Gabor Liptak
              sjlee0 Sangjin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: