Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Question about combiners

avatar
Contributor

Is a combiner always defined in terms of a reducer or is there another way to code the combiner class?

 

Thanks in advance to all who answer.

Thanks in advance to all who reply.

Kevin
1 ACCEPTED SOLUTION

avatar
Like the definitive guide says "Hadoop allows the user to specify a
combiner function to be run on the map output, and the combiner function’s
output forms the input to the reduce function. "
​. Frequently the code in the reducer and combiner is similar but doesn't
have to be. ​


Your question is unclear.
​ Can you elaborate a bit?


Regards,
Gautam Gopalakrishnan

View solution in original post

2 REPLIES 2

avatar
Like the definitive guide says "Hadoop allows the user to specify a
combiner function to be run on the map output, and the combiner function’s
output forms the input to the reduce function. "
​. Frequently the code in the reducer and combiner is similar but doesn't
have to be. ​


Your question is unclear.
​ Can you elaborate a bit?


Regards,
Gautam Gopalakrishnan

avatar
Contributor

Thanks, your answer was fine.

Thanks in advance to all who reply.

Kevin