Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-19018 Release Hadoop 3.4.0
  3. HADOOP-19084

prune dependency exports of hadoop-* modules

    XMLWordPrintableJSON

Details

    • Reviewed
    • maven/ivy imports of hadoop-common are less likely to end up with log4j versions on their classpath.

    Description

      this is probably caused by HADOOP-18613:

      ZK is pulling in some extra transitive stuff which surfaces in applications which import hadoop-common into their poms. It doesn't seem to show up in our distro, but downstream you get warnings about duplicate logging stuff

      |  +- org.apache.zookeeper:zookeeper:jar:3.8.3:compile
      |  |  +- org.apache.zookeeper:zookeeper-jute:jar:3.8.3:compile
      |  |  |  \- (org.apache.yetus:audience-annotations:jar:0.12.0:compile - omitted for duplicate)
      |  |  +- org.apache.yetus:audience-annotations:jar:0.12.0:compile
      |  |  +- (io.netty:netty-handler:jar:4.1.94.Final:compile - omitted for conflict with 4.1.100.Final)
      |  |  +- (io.netty:netty-transport-native-epoll:jar:4.1.94.Final:compile - omitted for conflict with 4.1.100.Final)
      |  |  +- (org.slf4j:slf4j-api:jar:1.7.30:compile - omitted for duplicate)
      |  |  +- ch.qos.logback:logback-core:jar:1.2.10:compile
      |  |  +- ch.qos.logback:logback-classic:jar:1.2.10:compile
      |  |  |  +- (ch.qos.logback:logback-core:jar:1.2.10:compile - omitted for duplicate)
      |  |  |  \- (org.slf4j:slf4j-api:jar:1.7.32:compile - omitted for conflict with 1.7.30)
      |  |  \- (commons-io:commons-io:jar:2.11.0:compile - omitted for conflict with 2.14.0)
      
      

      proposed: exclude the zk dependencies we either override outselves or don't need.

      Attachments

        Issue Links

          Activity

            People

              stevel@apache.org Steve Loughran
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: