MapReduce Cloud Computing Question:

Download Job Interview Questions and Answers PDF

Tell me how mapreduce works?

Cloud Computing - MapReduce Interview Question
Cloud Computing - MapReduce Interview Question

Answer:

The processing can occur on data which are in a file system (unstructured ) or in a database ( structured ). The mapreduce framework primarily works on two steps:
1. Map step
2. Reduce step

Map step: During this step the master node accepts an input (problem) and splits it into smaller problems. Now the node distributes the small sub problems to the worker node so that they can solve the problem.

Reduce step: Once the sub problem is solved by the worker node, the node returns a solution to the master node which accepts all the solutions of the worker node and re-compiles them into a solution. This solution is for the input that was provided to the master node.

Download Cloud Computing - MapReduce Interview Questions And Answers PDF

Previous QuestionNext Question
What do you understand by MapReduce?Tell me what is an input reader in reference to mapreduce?