tez-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TEZ-3200) Could not fetch job counter from hadoop java api
Date Wed, 06 Apr 2016 12:25:25 GMT
Saurabh Gupta created TEZ-3200:

             Summary: Could not fetch job counter from hadoop java api
                 Key: TEZ-3200
                 URL: https://issues.apache.org/jira/browse/TEZ-3200
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.8.2, 0.7.0
            Reporter: Saurabh Gupta

I am submitting a map reduce job through hadoop java api using
status = job.waitForCompletion(true) ? 0 : 1;
where job is instance of org.apache.hadoop.mapreduce.Job.
After the job completion I am fetching the job counter using
Counters counters = job.getCounters();
Counter reduceCounter = counters.findCounter("org.apache.tez.common.counters.TaskCounter",
int value= reduceCounter.getValue();
The value I am getting is zero.

The job I am submitting is map reduce job but I have set the property mapreduce.framework.name
to yarn-tez.

This message was sent by Atlassian JIRA

View raw message