[ 
https://issues.apache.org/jira/browse/TEZ-3200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hitesh Shah updated TEZ-3200:
-----------------------------
    Labels: newbiew  (was: )

> 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.7.0, 0.8.2
>            Reporter: Saurabh Gupta
>              Labels: newbiew
>
> 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",
> "OUTPUT_RECORDS");
> 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
(v6.3.4#6332)

Reply via email to