Skip to main content

Process Flow of Map Reduce and Map Reduce Life Cycle

Map Reduce is heart of Hadoop Process and it is meant for processing huge data. We can see process flow and Life Cycle of Map Reduce.

PhaseInputOutput
MapperKey, ValueKey, Value
Sort & ShuffleKey, ValueKey, List(Values)
ReducerKey, List(Values)Key, Value

Map Reduce Life Cycle:

Job Tracker and Task Tracker are two daemons which are primarily responsible for Map Reduce Job Execution. Below are the steps that taken place during the Map Reduce process. 

  • When the client submits input which is in the form of .jar file (driver code, mapper code and      reducer code) will be received by Job Tracker always.
  • By taking mapper business logic from the jar file, Job Tracker will initiate mapper phase on all  the available Task Trackers.
  • Once the assigned Task Trackers are done with mapper phase completely (100%), they will send status to the Job Tracker.
  • Upon the completion of the mapper task (100%), Job Tracker will initiate Sort & Shuffle phase on the mapper outputs.
  • Once Sort & Shuffle is completely done (100%), Job Tracker will initiate reducer phase on all the Task Trackers by taking the business logic from the Jar file
  • Once all the assigned Task Trackers done with reducer processing (100%), they will respond back Job Tracker with their outputs. Job Tracker will consolidate the final output and sends the report the client. 

Comments

Popular posts from this blog

Photo : Savitri during her last days

Even after 4 decades of her death, people are very much interested to watched her (Savitri) biopic. Mahanati turned to be stupendous success. On eve of remembering Savitri, here we posted Savitri photo. The photo seems her last days. The man stand behind Savitri is Gemini Ganeshan who married Savitri. It seems that she suffered bad days during her last days.

Jagan angry on Avanthi Srinivas on Bhimili meeting!

Avanthi Srinivas was joined in YSRCP in January this year. Avanthi joined in YSRCP seeking to contest as Bhimili Assembly segment in 2019 General Elections.

Pawan Kalyan Dual stand on Mirchi issue in Telugu States!

Power Star Pawan Kalyan said again and again that he always raised the problems that existed in Two Telugu States. People from Telugu states too approached Pawan on their issues. Jana Sena President Pawan Kalyan issued a press note on Mirchi issues. It seems that Pawan questioning AP Government but silent on Telangana on Mirchi issues. Pawan Kalyan demand AP Government 11000/- as support price for Mirchi farmers. Pawan Kalyan linked Chandra Babu USA tour to Mirchi issues. Pawan compared that going other countries for investments is not much important than settling Mirchi issues. This indicates that Jana Sena President indirectly targeted CBN US tour. AP is offering highest price for Mirchi along with support price. On one side farmers from other states like Telangana, Maharashtra, Tamilnadu and Karnataka rushed to AP Market yards for selling their product. Mirchi issue started in Khammam where farmers agitated for not getting support price. Knowing this, Pawan Kalyan questioned C...