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

Dependency divergence building Timeline Service on HBase 2.2.0 and above

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.2.1, 3.1.3
    • 3.3.0
    • build, timelineservice
    • None
    • YARN Timeline service on HBase 2.2.0 or above

    Description

      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:

      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
      

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: