You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Hitesh Shah (JIRA)" <ji...@apache.org> on 2016/05/06 18:35:12 UTC

[jira] [Created] (TEZ-3247) Tez does not compile against hadoop-trunk

Hitesh Shah created TEZ-3247:
--------------------------------

             Summary: Tez does not compile against hadoop-trunk 
                 Key: TEZ-3247
                 URL: https://issues.apache.org/jira/browse/TEZ-3247
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Hitesh Shah


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] 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)