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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0, 3.2.1, 3.1.3
    • Fix Version/s: 3.3.0
    • Component/s: build, timelineservice
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: