It seems Hadoop is the ‘flavor of the month’ in IT these days, and commands conflicting headlines month after month. What is Hadoop, and where did it come from?

Like many great innovations, Hadoop was created to solve an entirely different problem - building a web search engine. In 1999, Doug Cutting developed Lucene, a search library that was based on the state-of-the-art Information Retrieval technology, and was easy to configure and tune. But, Lucene only performed part of the functionality needed for a web search engine. Other components were missing:
- How should the massive content from all web pages be stored?
- How should all the web content be indexed efficiently?
To solve these problems, Cutting developed Hadoop, which consists of two major components:
- HDFS: The Hadoop file system, which can store petabytes of data reliably on multiple file servers. HDFS functionality includes:
- High availability: data is automatically replicated across multiple servers.
- High performance: multiple data instances can be processed in parallel on multiple data servers.
- Low latency: HDFS writes large files with large blocks, and assumes that once written by a single writer, the data will never be modified. This enables processes to write and read large amounts of data rapidly.
- Map-Reduce: A framework for executing algorithms in a distributed fashion, close to the data. The system processes data in three phases:
- Map: the user provides a function that converts each input record into a set of <keyN, value> tuples.
- Shuffle: the framework gathers the input of all the map functions that run on all the data nodes, and consolidates all the <key, value> tuples into a set of <keyN, value1, value2, ...., valueX> tuples.
- Reduce: the user provides a function that converts these <keyN, value1, value2, ...., valueX> tuples into final output.
Using HDFS and Map-Reduce, Cutting was able to build a complete web search engine around Lucene. As it turned out, these tools can be used to solve a lot of other Big Data problems.
And the name Hadoop? Cutting borrowed the name his son had given to a toy elephant. From then on, products in the Hadoop ecosystem are playfully named after animal themes, e.g., Pig, Impala, Hive.
I am not sure what ever became of the original toy elephant. But its namesake, the Hadoop framework, has certainly been resilient.

