[ 
https://issues.apache.org/jira/browse/TEZ-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15707287#comment-15707287
 ] 

Harish Jaiprakash commented on TEZ-3247:
----------------------------------------

I'll have to file a followup bug on metrics2 library for hadoop 3. This is 
because we cannot call register with same name twice, even if we call 
unregister in b/w. This is required for tez to work correctly, since we use 
multiple dags in one AM and metrics have to be unique for each DAG.

> 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
>            Assignee: Harish Jaiprakash
>         Attachments: 3247.patch, TEZ-3247.1.patch, TEZ-3247.2.patch
>
>
> 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)

Reply via email to