Support Questions

Find answers, ask questions, and share your expertise

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