7

Is it possible to send output of a Reducer directly to another reducer if we want to group by the same key ( output of the first reducer )

Sometimes while chaining i observe that i am using a mapper just to read from input and copy same to output. Hence wondering idf it is possible to fed the output directly to reducer

1 Answer 1

7

Although you can chain map-reduce jobs, even mappers, together; as far as I know you can not chain reducers directly.

Internally you can chain mappers before reducer with ChainMapper and chain Mappers after reducer with ChainReducer.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.