Tsuyoshi Ozawa created YARN-3801:
------------------------------------

             Summary: [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: Bug
          Components: timelineserver
            Reporter: Tsuyoshi Ozawa
            Assignee: Tsuyoshi Ozawa


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)

Reply via email to