Bikas Saha created TEZ-1138:
-------------------------------

             Summary: 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
            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)

Reply via email to