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 2014/06/24 18:38:25 UTC

[jira] [Comment Edited] (TEZ-1138) Access to some mapred counters is broken after TEZ-901

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

Hitesh Shah edited comment on TEZ-1138 at 6/24/14 4:36 PM:
-----------------------------------------------------------

This question might be better targeted towards [~sseth]


was (Author: hitesh):
This question might be targeted towards [~sseth]

> Access to some mapred counters is broken after TEZ-901
> ------------------------------------------------------
>
>                 Key: TEZ-1138
>                 URL: https://issues.apache.org/jira/browse/TEZ-1138
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Bikas Saha
>            Assignee: Rekha Joshi
>            Priority: Critical
>
> AbstractCounters.java maps mapred.Task$Counter counters to TaskCounter
> {code}  private static final Map<String, String> legacyMap = Maps.newHashMap();
>   static {
>     legacyMap.put("org.apache.hadoop.mapred.Task$Counter",
>                   TaskCounter.class.getName());
>     legacyMap.put("org.apache.hadoop.mapred.JobInProgress$Counter",
>                   JobCounter.class.getName());
>     legacyMap.put("FileSystemCounters", FileSystemCounter.class.getName());
>   }{code}
> But TEZ-901 removed a bunch of counters like MAP_OUTPUT_BYTES from TaskCounter. Now if MAP_OUTPUT_BYTES is retrieved from MR code then it fails with enum not found exception.



--
This message was sent by Atlassian JIRA
(v6.2#6252)