- 2073 Bhadra · 10 marks
Components of Hadoop
Short answer
Hadoop core components are HDFS for distributed replicated storage, MapReduce for parallel processing, YARN for cluster resource management, and Hadoop Common for shared libraries. The ecosystem adds Hive, Pig, HBase, Sqoop, Flume, ZooKeeper, Oozie and others.
What are the components of Hadoop? Explain each in brief.
Apache Hadoop is an open-source framework for distributed storage and processing of very large data sets on clusters of commodity hardware. It has core components and an ecosystem of related tools.
Core components
- HDFS (Hadoop Distributed File System): the storage layer, based on the Google File System. Files are split into large blocks (128 MB) replicated (default 3 times) across DataNodes. The NameNode keeps metadata. It provides fault tolerance and high-throughput access.
- MapReduce: the processing layer. A job is split into map tasks (process input splits in parallel, emit key-value pairs) and reduce tasks (aggregate by key). Computation moves to the data.
- YARN (Yet Another Resource Negotiator): the resource-management layer (Hadoop 2+). The ResourceManager and NodeManagers allocate CPU and memory containers to applications, so that MapReduce, Spark and others can share the cluster.
- Hadoop Common: shared Java libraries and utilities (I/O, RPC, serialization, security) used by all modules.
+--------------------------------------+
| Ecosystem: Hive Pig HBase Sqoop ... |
+--------------------------------------+
| MapReduce (processing) |
+--------------------------------------+
| YARN (resource management) |
+--------------------------------------+
| HDFS (storage) |
+--------------------------------------+
Ecosystem components
| Component | Purpose |
|---|---|
| Hive | SQL-like queries (HiveQL) over HDFS data |
| Pig | Data-flow scripting (Pig Latin) |
| HBase | Column-oriented NoSQL database on HDFS |
| Sqoop | Import/export between RDBMS and Hadoop |
| Flume | Collecting streaming log data into HDFS |
| ZooKeeper | Coordination and configuration service |
| Oozie | Workflow scheduler for Hadoop jobs |
| Mahout/Spark | Machine learning and in-memory processing |
Key features
Scalable (add nodes), fault tolerant (replication, task re-execution), cost-effective (commodity hardware), and works with structured and unstructured data.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Hadoop daemons explained · Big Data Technologies, chapter 6 · asked 2×
- Components of a VR system · Computer Graphics, chapter 1
- Major components of a power station and functions · Power System Analysis I, chapter 1