• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Big Data | Hadoop by

Explain how do ‘map’ and ‘reduce’ works.

1 Answer

0 votes

Namenode takes the input and divide it into parts and assign them to data nodes. These datanodes process the tasks assigned to them and make a key-value pair and returns the intermediate output to the Reducer. The reducer collects this key value pairs of all the datanodes and combines them and generates the final output.

Related questions

0 votes
asked Nov 24, 2020 in Hadoop by rahuljain1
+1 vote
asked Jun 28, 2021 in HDFS by Robindeniel