Tuesday, April 17, 2012

What is Map Reduce ?

Map reduce is an algorithm or concept to process Huge amount of data in a faster way. As per its name you can divide it Map and Reduce.

  • The main Map Reduce job usually splits the input data-set into independent chunks. (Big data sets in the multiple small datasets)
  • Map Task: will process these chunks in a completely parallel manner (One node can process one or more chunks).
  • The framework sorts the outputs of the maps.
  • Reduce Task : And the above output will be the input for the reduce tasks, produces the final result.

Your business logic would be written in the Mapped Task and Reduced Task.

Typically both the input and the output of the job are stored in a file-system (Not database). The framework takes care of scheduling tasks, monitoring them and re-executes the failed tasks.

No comments:

Post a Comment

Live

Your Ad Here