Wei-Chiu Chuang created YARN-10195:
--------------------------------------
Summary: Dependency divergence building Timeline Service on HBase
2.2.0 and above
Key: YARN-10195
URL: https://issues.apache.org/jira/browse/YARN-10195
Project: Hadoop YARN
Issue Type: Bug
Components: build, timelineservice
Affects Versions: 3.1.3, 3.2.1, 3.3.0
Reporter: Wei-Chiu Chuang
HADOOP-15960 updated guava to 27.0-jre. The version brings new dependency
com.google.errorprone:error_prone_annotations 2.2.0.
In parallel, HBase 2.2.0 and above adds the new dependency via its
hbase-thirdparty artifact.
So when building Hadoop 3.3.0/3.2.1/3.1.3 on top of HBase 2.2.0 with {{mvn
clean install -Dhbase.profile=2.0 -Dhbase.two.version=2.2.0
-Dmaven.javadoc.skip=true -DskipTests}}, the build fails with the following
dependency divergence error (disregard the version number:
{noformat}
Dependency convergence error for
com.google.errorprone:error_prone_annotations:2.3.3 paths to dependency are:
+-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-common:3.3.0-SNAPSHOT
+-org.apache.hbase:hbase-common:2.2.0
+-org.apache.hbase.thirdparty:hbase-shaded-miscellaneous:2.2.1
+-com.google.errorprone:error_prone_annotations:2.3.3
and
+-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-common:3.3.0-SNAPSHOT
+-com.google.guava:guava:27.0-jre
+-com.google.errorprone:error_prone_annotations:2.2.0
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]