Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-3247

Tez does not compile against hadoop-trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Some of the errors:

      Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project tez-runtime-library: Compilation failure: Compilation failure:
      [ERROR] /Users/hitesh/dev/apache/tez/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleClientMetrics.java:[21,33] package org.apache.hadoop.metrics does not exist
      [ERROR] /Users/hitesh/dev/apache/tez/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleClientMetrics.java:[22,33] package org.apache.hadoop.metrics does not exist
      [ERROR] /Users/hitesh/dev/apache/tez/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleClientMetrics.java:[23,33] package org.apache.hadoop.metrics does not exist
      [ERROR] /Users/hitesh/dev/apache/tez/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleClientMetrics.java:[24,33] package org.apache.hadoop.metrics does not exist
      [ERROR] /Users/hitesh/dev/apache/tez/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleClientMetrics.java:[30,39] cannot find symbol
      [ERROR] symbol: class Updater
      [ERROR] /Users/hitesh/dev/apache/tez/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleClientMetrics.java:[32,11] cannot find symbol
      [ERROR] symbol: class MetricsRecord
      [ERROR] location: class org.apache.tez.runtime.library.common.shuffle.orderedgrouped.ShuffleClientMetrics
      [ERROR] /Users/hitesh/dev/apache/tez/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/shuffle/orderedgrouped/ShuffleClientMetrics.java:[73,25] cannot find symbol
      [ERROR] symbol: class MetricsContext

      Some of these classes are already considered deprecated in hadoop-2. We should look to moving to supported and public classes that are available in both hadoop-2 and hadoop-3.

      Reported offline by harishjp

      Attachments

        1. 3247.patch
          9 kB
          Harish JP
        2. TEZ-3247.1.patch
          9 kB
          Harish JP
        3. TEZ-3247.2.patch
          9 kB
          Harish JP

        Issue Links

          Activity

            People

              harishjp Harish JP
              hitesh Hitesh Shah
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: