hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Reporter vs context
Date Sat, 21 Apr 2012 06:29:42 GMT
Context is what the new MR API offers, and it wraps over a Reporter
object, and provides other helpful functions and data you'd require
within a task (lives up to its name).

Reporter was the raw object provided in the old MR API, that lets one
report progress, set status, etc.. In new API, you access the same
reporter via a Context wrapper class instead.

On Sat, Apr 21, 2012 at 6:04 AM, JAX <jayunit100@gmail.com> wrote:
> Hi guys : I notice that there's been some chatter about the "Reporter" in context of
counters.... Forgive my ignorance here as I've never seen Reporters used in real code.
>
> What is the difference between the use of our Context, and Reporter objects- and how
are they related? Is there any overlap in their functionality.?
>
>
> Jay Vyas
> MMSB
> UCHC



-- 
Harsh J

Mime
View raw message