Steve Loughran created HADOOP-19084:
---------------------------------------
Summary: hadoop-common exports logback as a transitive dependency
Key: HADOOP-19084
URL: https://issues.apache.org/jira/browse/HADOOP-19084
Project: Hadoop Common
Issue Type: Bug
Components: build
Affects Versions: 3.4.0, 3.5.0
Reporter: Steve Loughran
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
{code}
| +- 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)
{code}
proposed: exclude the zk dependencies we either override outselves or don't
need.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]