hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asif Jan <Asif....@unige.ch>
Subject Re: manipulate counters in new api
Date Mon, 19 Jul 2010 20:41:28 GMT
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
>
>
>
>











Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message