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.

Rare Collection : Bhuma Nagi Reddy with Sr. NTR

Please check the photo. It was in 1994 after TDP regains power in AP. Bhuma Nagi Reddy and SV Subba Reddy (father of Shobha Nagi Reddy) were met NTR along with their families. Bhuma Nagi Reddy was elected first time to Assembly as TDP candidate from Allagadda in 1992 bye-election. Again he was elected as MLA from same constituency in 1994 as TDP candidate. In 1991, late NTR decided not to field TDP nominee opposite first Telugu Prime Minister PV Narasimha Rao. In 1996, Chandra Babu Naidu (NTR was died) was selected Bhuma against them Prime Minister PV in Nandhyala. In 1991, PV majority was more than 5 lakhs but in 1996 his massive majority comes down below one lakh. It can only possible to Bhuma. PV retained Barampur in Orissa and resigned for Nandhyala. TDP was selected Bhuma as it's candidate in 1996 bye-election and Bhuma won over 4lakh majority against Gangula. Bhuma was elected again in 1998 and in 1999 bye-elections from Nandhyala. All the three times he defeated Ga...

Girl signed on 100/- Stamp Paper for getting 5K!

YSRCP Govt gave notification for more than 2.6 lakh jobs for Village Volunteers and was selected through interview process. All unemployed youth from SSC to Graduate were applied for the posts.