Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-11558

Fix dependency convergence error on hbase2 profile

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      $ mvn clean install -DskipTests -DskipShade -Dhbase.profile=2.0
      ...
      [INFO] --- maven-enforcer-plugin:3.0.0:enforce (depcheck) @ hadoop-yarn-server-timelineservice-hbase-client ---
      [WARNING] 
      Dependency convergence error for org.osgi:org.osgi.core:jar:6.0.0:provided paths to dependency are:
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hadoop:hadoop-common:jar:3.4.0-SNAPSHOT:provided
          +-org.apache.commons:commons-compress:jar:1.21:provided
            +-org.osgi:org.osgi.core:jar:6.0.0:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.core:jersey-server:jar:2.25.1:provided
              +-org.glassfish.jersey.core:jersey-common:jar:2.25.1:provided
                +-org.osgi:org.osgi.core:jar:4.2.0:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.core:jersey-server:jar:2.25.1:provided
              +-org.glassfish.jersey.core:jersey-common:jar:2.25.1:provided
                +-org.glassfish.hk2:osgi-resource-locator:jar:1.0.1:provided
                  +-org.osgi:org.osgi.core:jar:4.2.0:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.core:jersey-server:jar:2.25.1:provided
              +-org.osgi:org.osgi.core:jar:4.2.0:provided
      
      [WARNING] 
      Dependency convergence error for javax.ws.rs:javax.ws.rs-api:jar:2.1.1:provided paths to dependency are:
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hadoop:hadoop-yarn-common:jar:3.4.0-SNAPSHOT:provided
          +-com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.7:provided
            +-com.fasterxml.jackson.jaxrs:jackson-jaxrs-base:jar:2.12.7:provided
              +-javax.ws.rs:javax.ws.rs-api:jar:2.1.1:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hadoop:hadoop-yarn-common:jar:3.4.0-SNAPSHOT:provided
          +-com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:jar:2.12.7:provided
            +-javax.ws.rs:javax.ws.rs-api:jar:2.1.1:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.core:jersey-server:jar:2.25.1:provided
              +-org.glassfish.jersey.core:jersey-common:jar:2.25.1:provided
                +-javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.core:jersey-server:jar:2.25.1:provided
              +-org.glassfish.jersey.core:jersey-client:jar:2.25.1:provided
                +-javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.core:jersey-server:jar:2.25.1:provided
              +-javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.25.1:provided
              +-javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided
      
      [WARNING] 
      Dependency convergence error for org.javassist:javassist:jar:3.18.1-GA:provided paths to dependency are:
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hadoop:hadoop-common:jar:3.4.0-SNAPSHOT:provided
          +-com.sun.jersey:jersey-servlet:jar:1.19.4:compile
            +-org.jboss.weld:weld-osgi-bundle:jar:1.1.32.Final:provided
              +-org.jboss.weld:weld-core:jar:1.1.32.Final:provided
                +-org.javassist:javassist:jar:3.18.1-GA:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hadoop:hadoop-common:jar:3.4.0-SNAPSHOT:provided
          +-com.sun.jersey:jersey-servlet:jar:1.19.4:compile
            +-org.jboss.weld:weld-osgi-bundle:jar:1.1.32.Final:provided
              +-org.javassist:javassist:jar:3.18.1-GA:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.core:jersey-server:jar:2.25.1:provided
              +-org.glassfish.hk2:hk2-locator:jar:2.5.0-b32:provided
                +-org.javassist:javassist:jar:3.20.0-GA:provided
      
      [WARNING] 
      Dependency convergence error for javax.servlet:servlet-api:jar:2.5:provided paths to dependency are:
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hadoop:hadoop-yarn-common:jar:3.4.0-SNAPSHOT:provided
          +-com.google.inject.extensions:guice-servlet:jar:4.2.3:compile
            +-javax.servlet:servlet-api:jar:2.5:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hadoop:hadoop-yarn-common:jar:3.4.0-SNAPSHOT:provided
          +-com.sun.jersey.contribs:jersey-guice:jar:1.19.4:compile
            +-javax.servlet:servlet-api:jar:2.5:provided
      and
      +-org.apache.hadoop:hadoop-yarn-server-timelineservice-hbase-client:jar:3.4.0-SNAPSHOT
        +-org.apache.hbase:hbase-server:jar:2.2.4:provided
          +-org.apache.hbase:hbase-http:jar:2.2.4:provided
            +-org.glassfish.jersey.containers:jersey-container-servlet-core:jar:2.25.1:provided
              +-javax.servlet:servlet-api:jar:2.4:provided
      
      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
      Failed while enforcing releasability. See above detailed error message.
      

       

      Attachments

        Issue Links

          Activity

            People

              iwasakims Masatake Iwasaki
              iwasakims Masatake Iwasaki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: