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

many undeclared used dependencies (and declared unused dependencies)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Release Note:
      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. hadoop-unused.txt
          88 kB
          Gabor Liptak
        2. HADOOP-12048.3.patch
          14 kB
          Gabor Liptak
        3. HADOOP-12048.2.patch
          9 kB
          Gabor Liptak
        4. HADOOP-12048.1.patch
          9 kB
          Gabor Liptak
        5. dependency-analysis.txt
          53 kB
          Sangjin Lee

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: