[
https://issues.apache.org/jira/browse/YARN-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14587424#comment-14587424
]
Zhijie Shen commented on YARN-3801:
-----------------------------------
+1, we'd better fix Java 8 issues before merging branch YARN-2928 back to
trunk. HADOOP-11090 is targeting 2.8.
> [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)