[jira] [Commented] (YARN-10195) Dependency divergence building Timeline Service on HBase 2.2.0 and above

2020-03-13 Thread Hudson (Jira)


[ 
https://issues.apache.org/jira/browse/YARN-10195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17058996#comment-17058996
 ] 

Hudson commented on YARN-10195:
---

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #18051 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/18051/])
YARN-10195. Dependency divergence building Timeline Service on HBase (github: 
rev cd91ef649e20999433b871f23cff84a5798077f4)
* (edit) hadoop-project/pom.xml


> 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.3.0, 3.2.1, 3.1.3
> Environment: YARN Timeline service on HBase 2.2.0 or above
>Reporter: Wei-Chiu Chuang
>Assignee: Wei-Chiu Chuang
>Priority: Major
>
> 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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-10195) Dependency divergence building Timeline Service on HBase 2.2.0 and above

2020-03-12 Thread Wei-Chiu Chuang (Jira)


[ 
https://issues.apache.org/jira/browse/YARN-10195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17058184#comment-17058184
 ] 

Wei-Chiu Chuang commented on YARN-10195:


fyi [~gabor.bota]  [~psomogyi] 

 
From  HBASE-22233 discussion, my understanding is that error_prone is leaked 
from the shaded jar intentionally. So we will have to address from Hadoop side.

{quote}
Attached a PR with the listed com.google.* packages excluding leaving out 
com.google.errorprone.

Checked the content of hbase-shaded-miscellaneous jar, the errorprone related 
imports are still under com.google.errorprone and the errorprone classes are 
not part of the uber jar.
{quote}

> 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.3.0, 3.2.1, 3.1.3
>Reporter: Wei-Chiu Chuang
>Assignee: Wei-Chiu Chuang
>Priority: Major
>
> 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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org