NEW
Also known as: Hadoop Distributed File System
A distributed file system for large-scale storage across clusters, offering block-based replication and fault tolerance as part of Hadoop.
DESCRIPTION
HDFS stores large files by splitting them into blocks and replicating across nodes for reliability. A Namenode manages metadata, while Datanodes store blocks. Designed for high-throughput batch processing, it underpins Hadoop ecosystems. As object storage gained popularity, many modern deployments use S3 or similar with Hadoop-compatible connectors, though HDFS remains common on-premise.
ALTERNATIVE DEFINITIONS
Apache Hadoop
HDFS is a distributed file system designed to run on commodity hardware, providing high throughput access to application data and is suitable for applications that have large data sets.
Stresses commodity hardware and high-throughput design.
Apache Hadoop
The Hadoop Distributed File System (HDFS) provides scalable, reliable data storage for Hadoop, replicating blocks across multiple machines to achieve fault tolerance.
Highlights replication-based fault tolerance in Hadoop.
RELATED TERMS
Hadoop MapReduce YARN Data Lake NameNode DataNode Replication Block Storage Durability (ACID) Apache HBase
COMPETING TERMS
KNOWLEDGE AREAS
Data Storage & Operations Infrastructure Data Engineering Cloud
TARGET AUDIENCE
Data Engineer Software Developer Data Architect Cloud Architect
EXTERNAL SOURCES
- Wikipedia - Apache Hadoop#HDFS
- Apache Hadoop - HDFS architecture design document
- Cloudera - Enterprise Hadoop/HDFS guidance
- Apache Hadoop - HDFS shell command reference
TOP QUESTIONS
What problems does HDFS solve?
It provides scalable, reliable storage for large datasets with high-throughput access and fault tolerance via replication across commodity hardware.
Category: Overview
How does HDFS achieve fault tolerance?
By replicating blocks across multiple Datanodes and re-replicating when failures occur, managed by the Namenode’s metadata.
Category: Mechanism
What are typical block sizes in HDFS?
Block sizes are large (e.g., 128MB or more) to optimize sequential throughput and reduce metadata overhead.
Category: Details
How does HDFS compare to object storage like S3?
HDFS integrates tightly with on-prem Hadoop and supports POSIX-like semantics; S3 is cloud-native object storage with different consistency and access patterns.
Category: Comparison
What are common HDFS operational tasks?
Balancing, replication factor tuning, Namenode backups, and monitoring disk utilization are key tasks.
Category: Operations
Can HDFS handle small files efficiently?
It’s optimized for large files; many small files cause metadata bloat. Combine small files or use sequence/Parquet files.
Category: Limitations
How does HDFS integrate with YARN and MapReduce?
HDFS provides storage, while YARN schedules compute and MapReduce processes data where it lives for locality benefits.
Category: Integration
Is HDFS still relevant in cloud architectures?
It remains relevant on-prem and hybrid; cloud often prefers object storage, but Hadoop connectors bridge both worlds.
Category: Relevancy
What is the Namenode’s role in HDFS?
It maintains the filesystem namespace and metadata, coordinating block placement and recovery.
Category: Architecture