[
https://issues.apache.org/jira/browse/YARN-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587233#comment-14587233
]
Sangjin Lee commented on YARN-3801:
-----------------------------------
+1 from me. Although it's bit early for JDK 8, we can have this proactively on
our feature branch. We can remove the exclusion rules later if and when we
decide to move to a HBase version that doesn't bring in conflicting versions.
Folks, let me know if you have any objection, or I'll merge it to our feature
branch soon.
> [JDK-8][YARN-2928] Exclude jdk.tools from hbase-client and hbase-testing-util
> -----------------------------------------------------------------------------
>
> Key: YARN-3801
> URL: https://issues.apache.org/jira/browse/YARN-3801
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: timelineserver
> Reporter: Tsuyoshi Ozawa
> Assignee: Tsuyoshi Ozawa
> Attachments: YARN-3801.001.patch
>
>
> timelineservice depends on hbase-client and hbase-testing-util, and they
> dpend on jdk.tools:1.7. This leads to fail to compile hadoop with JDK8.
> {quote}
> [WARNING]
> Dependency convergence error for jdk.tools:jdk.tools:1.8 paths to dependency
> are:
> +-org.apache.hadoop:hadoop-yarn-server-timelineservice:3.0.0-SNAPSHOT
> +-org.apache.hadoop:hadoop-annotations:3.0.0-SNAPSHOT
> +-jdk.tools:jdk.tools:1.8
> and
> +-org.apache.hadoop:hadoop-yarn-server-timelineservice:3.0.0-SNAPSHOT
> +-org.apache.hbase:hbase-client:1.0.1
> +-org.apache.hbase:hbase-annotations:1.0.1
> +-jdk.tools:jdk.tools:1.7
> and
> +-org.apache.hadoop:hadoop-yarn-server-timelineservice:3.0.0-SNAPSHOT
> +-org.apache.hbase:hbase-testing-util:1.0.1
> +-org.apache.hbase:hbase-annotations:1.0.1
> +-jdk.tools:jdk.tools:1.7
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence
> failed with message:
> Failed while enforcing releasability the error(s) are [
> Dependency convergence error for jdk.tools:jdk.tools:1.8 paths to dependency
> are:
> +-org.apache.hadoop:hadoop-yarn-server-timelineservice:3.0.0-SNAPSHOT
> +-org.apache.hadoop:hadoop-annotations:3.0.0-SNAPSHOT
> +-jdk.tools:jdk.tools:1.8
> and
> +-org.apache.hadoop:hadoop-yarn-server-timelineservice:3.0.0-SNAPSHOT
> +-org.apache.hbase:hbase-client:1.0.1
> +-org.apache.hbase:hbase-annotations:1.0.1
> +-jdk.tools:jdk.tools:1.7
> and
> +-org.apache.hadoop:hadoop-yarn-server-timelineservice:3.0.0-SNAPSHOT
> +-org.apache.hbase:hbase-testing-util:1.0.1
> +-org.apache.hbase:hbase-annotations:1.0.1
> +-jdk.tools:jdk.tools:1.7
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)