Hadoop: Hadoop software is a framework that permits for the distributed processing of huge data sets across clusters of computers using simple programming models. In simple terms, Hadoop is a framework for processing ‘Big Data’. Hadoop was created by Doug Cutting.it was also created by Mike Cafarella. It is designed to divide from single servers to thousands of machines, each having local computation and storage. Hadoop is an open-source software. The core of Apache Hadoop consists of a storage part, known as the Hadoop Distributed File System(HDFS), and a processing part which may be a Map-Reduce programming model. Hadoop splits files into large blocks and distributes them across nodes during a cluster. It then transfers packaged code into nodes to process the info in parallel.
Mapreduce: MapReduce is a programming model that is used for processing and generating large data sets on clusters of computers. It was introduced by Google. Mapreduce is a concept or a method for large scale parallelization.It is inspired by functional programming’s
MapReduce program is executed in three stages they are:
- Mapping: Mapper’s job is to process input data.Each node applies the map function to the local data.
- Shuffle: Here nodes are redistributed where data is based on the output keys.(output keys are produced by map function).
- Reduce: Nodes are now processed into each group of output data, per key in parallel.
Below is a table of differences between Hadoop and MapReduce:
|Defination||The Apache Hadoop is a software that allows all the distributed processing of large data sets across clusters of computers using simple programming||MapReduce is a programming model which is an implementation for processing and generating big data sets with distributed algorithm on a cluster.|
|Meaning||The name “Hadoop” was the named after Doug cutting’s son’s toy elephant. He named this project as “Hadoop” as it was easy to pronounce it.||The “MapReduce” name came into existence as per the functionality itself of mapping and reducing in key-value pairs.|
|Framework||Hadoop not only has storage framework which stores the data but creating name node’s and data node’s it also has other frameworks which include MapReduce itself.||MapReduce is a programming framework which uses a key, value mappings to sort/process the data|
|Invention||Hadoop was created by Doug Cutting and Mike Cafarella.||Mapreduce is invented by Google.|
|Concept||The Apache Hadoop is an eco-system which provides an environment which is reliable, scalable and ready for distributed computing.||MapReduce is a submodule of this project which is a programming model and is used to process huge datasets which sits on HDFS (Hadoop distributed file system).|
|Language||Hadoop is a collection of all modules and hence may include other programming/scripting languages too||MapReduce is basically written in Java programming language|
|Pre-requisites||Hadoop runs on HDFS (Hadoop Distributed File System)||MapReduce can run on HDFS/GFS/NDFS or any other distributed system for example MapR-FS|
- Difference Between MapReduce and Apache Spark
- Difference Between Hadoop 2.x vs Hadoop 3.x
- Difference between Hadoop 1 and Hadoop 2
- Difference Between Hadoop and SQL
- Difference Between Hadoop and Teradata
- Difference Between Hadoop and Elasticsearch
- Difference Between Hadoop and Splunk
- Difference between Hadoop and MariaDB
- Difference Between Hadoop and HBase
- Difference Between Hadoop and Cassandra
- Difference Between Hadoop and Spark
- Difference Between RDBMS and Hadoop
- Difference Between Hadoop and Hive
- Difference Between Hadoop and SQL Performance
- Difference Between Hadoop and MongoDB
- Difference Between Cloud Computing and Hadoop
- Difference Between Big Data and Apache Hadoop
- Difference Between Hadoop and Apache Spark
- Difference between Data Warehouse and Hadoop
- Difference Between Apache Hadoop and Apache Storm
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.