Apache Hadoop

Apache Hadoop is a collection of open-source software tools, that speeds up the processing of very large amounts of data by distributing it to multiple computers.
Its core consists of:

 a storage part: Hadoop Distributed File System (HDFS). This abstracts away the distributed nature of storage so that data can be moved around the cluster of computers more easily.
 a processing part: Hadoop MapReduce (Hadoop's implementation of MapReduce). This is used to distribute and program transformations within the intended data processing pipeline.
 Map: The Map phase organises data into key:value pairs according to a user's pre-defined mapping, and
 Shuffle: a process called Shuffle uses those keys to sort and redistribute the data to nodes in the cluster so that similar data is stored together. This is known as Data Locality.
 Reduce: The Reduce phase then does the transformation on the values, perhaps just a mathematical operation like addition, now taking advantage of Data Locality to streamline that processing at each node, like specialisation in economics. It then brings that data back together and finally writes it back to HDFS.

The distributed nature of Hadoop means that processing:

 can be done in parallel rather than only sequentially, waiting for one step to finish before another begins.
 is far more fault tolerant and so the processing has higher availability.

HDFS is also used for other projects such as the Apache NoSQL Wide Column Store, Apache HBase.

Reading and writing to and from disk for each transformation means that Hadoop MapReduce is slower for most pipelines than Apache Spark which uses RAM rather than disk and also runs within the Hadoop ecosystem. Spark may cost more in terms of resources such as memory and CPU.

Available to work alongside HDFS and Hadoop MapReduce are other Apache tools in the Hadoop ecosystem, such as:

 YARN (Yet Another Resource Negotiator) which does the distributing.
 Hive: a data warehousing tool which also translates your SQL queries into MapReduce or Spark jobs.
 Pig, which make writing MapReduce programs easier than writing them in Python, C++ or Java directly.

As of 2013, Hadoop adoption had become widespread: more than half of the Fortune 50 companies used Hadoop.

Category:Software