You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Gang Luo <lg...@yahoo.com.cn> on 2010/08/07 22:42:46 UTC
counter is not correct in new API
Hi all,
I am using new API and find that the reduce output record counter shows 0.
Actually my reducers output the result correctly. What to do to correct the
counter error?
Thanks,
-Gang
Re: counter is not correct in new API
Posted by Amareshwari Sri Ramadasu <am...@yahoo-inc.com>.
How are you accessing the counter? You should access it through the enum org.apache.hadoop.mapreduce.TaskCounter.REDUCE_OUTPUT_RECORDS
-Amareshwari
On 8/8/10 2:12 AM, "Gang Luo" <lg...@yahoo.com.cn> wrote:
Hi all,
I am using new API and find that the reduce output record counter shows 0.
Actually my reducers output the result correctly. What to do to correct the
counter error?
Thanks,
-Gang