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.

Police Attacked Asaduddin Owaisi - Rarest Photo

Asaduddin Owaisi make mockery at Muslims!

Asaduddin Owaisi who is president of All India Majlis-e-Ittehadul Muslimeen is playing crucial hidden role in TRS Government. MIM was friendly ally to Congress once in United Andhra Pradesh. 12% Minorities turns to be vote bank to Congress in every elections. MIM was openly supported Congress to counter BJP. But people are seeing very difficult situation in Telangana state. Congress is in opposition in Telangana and BJP comes to fourth position as per 2014 results. Though TRS was not in NDA, but KCR political movements seems to be close to BJP in every aspect. At the time of No-Confidence motion TRS voted for BJP government where as MIM voted against BJP. But both MIM and TRS were in good understanding in Telangana and diversified political stand at Central. During the time of Deputy Chairman for Rajya Sabha too TRS voted in favor of NDA nominee and MIM voted for Congress nominee. Now the question among many muslim voters why Owaisi brothers go along with TRS though know KCR main...