context.getCounter(Status.failed).increment(1); 

cheers




On Jul 19, 2010, at 9:48 PM, Gang Luo wrote:

Hi all,
I find the map/reduce method in the new api look like map/ reduce(Object, Iterable, Context). No Reporter appears here as in the old api. How to add and
modify counters in the new api?

Thanks,
-Gang














Reply via email to