> Date: Tue, 20 Jul 2010 03:48:22 +0800
> From: [email protected]
> Subject: manipulate counters in new api
> To: [email protected]
>
> 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
>
This is pretty similar to my post to general-hadoop.
The idea is how to create dynamic counters vs enum counters.
To answer Gang's question ... if you are using enum counters, you can get the
counters from the context
and then increment them.
-Mike
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3