PrepAway - Latest Free Exam Questions & Answers

Custom programmer-defined counters in MapReduce are:

Custom programmer-defined counters in MapReduce are:

PrepAway - Latest Free Exam Questions & Answers

A.
Lightweight devices for bookkeeping within MapReduce programs.

B.
Lightweight devices for ensuring the correctness of a MapReduce program. Mappers Increment
counters, and reducers decrement counters. If at the end of the program the counters read zero,
then you are sure that the job completed correctly.

C.
Lightweight devices for synchronization within MapReduce programs. You can use counters to
coordinate execution between a mapper and a reducer.

Explanation:
Countersare a useful channel for gathering statistics about the job; for qualitycontrol, or for application-level statistics. They are also useful for problem diagnosis. Hadoop
maintains somebuilt-in counters for every job, which reports various metrics for your job.
Hadoop MapReduce also allows the user to define a set of user-defined counters that can be
incremented (or decremented by specifying a negative value as the parameter), by the driver,
mapper or the reducer.
Reference:Iterative MapReduce and Counters,Introduction to Iterative MapReduce and Counters
http://hadooptutorial.wikispaces.com/Iterative+MapReduce+and+Counters(counters, second
paragraph)

2 Comments on “Custom programmer-defined counters in MapReduce are:


Leave a Reply

Your email address will not be published. Required fields are marked *