← Back to list

What is HDFS?

HDFS (Hadoop Distributed File System) is the primary storage system of Hadoop. It is designed to store very large files (gigabytes to…

Mathewsam537 · 2025-04-28 14:37 · 0 claps · 1.7 min read
#hadoop #hdfs-architecture #hdfs #cloud-computing #big-data
Open on Medium ↗
Wiki topics: RAG · RAG & Retrieval 🏛️ · Architecture

What is HDFS?

HDFS (Hadoop Distributed File System) is the primary storage system of Hadoop. It is designed to store very large files (gigabytes to petabytes) reliably and to stream those data sets at high bandwidth to user applications.

  • It follows a master-slave architecture.
  • It can store data across multiple machines.
  • It is fault-tolerant and highly scalable.

Figure shows characteristics of Hadoop

Figure shows characteristics of Hadoop

Purpose & Importance of HDFS

Purpose & Importance of HDFS

Why it matters:

Imagine you have 100 terabytes of website logs. Storing them on one machine is risky (if the machine fails, data is lost), expensive, and inefficient. HDFS allows you to break those files into chunks, store them safely across many computers, and recover them even if some machines crash.

Analyzing User Behavior on an E-commerce Site

  • The website generates terabytes of log data daily.
  • Logs include search history, product views, clicks, etc.
  • This data is stored in HDFS for further processing using Hadoop MapReduce or Spark.
  • Business analysts use the insights to improve customer experience and marketing strategies.

How HDFS Works: Workflow Diagram

Here’s a simplified workflow and architecture:

Workflow diagram.

Workflow diagram.

File Storage Workflow

  1. Client uploads a file to HDFS.
  2. The NameNode splits it into blocks (default 128MB).
  3. Blocks are distributed across DataNodes.
  4. Each block is replicated (default: 3 copies) for fault tolerance.
  5. When needed, clients read blocks directly from DataNodes.

File storage Workflow HDFS.

File storage Workflow HDFS.

Conclusion

HDFS is a foundation of Big Data architecture. Its design enables businesses to store, manage, and analyze massive datasets efficiently and affordably. Whether you’re working on user behavior analysis, IoT sensor data, or financial transactions, HDFS enables large-scale data solutions that are reliable, fault-tolerant, and scalable.


메타데이터
post_id
c835205e1daa
slug
what-is-hdfs-c835205e1daa
url
https://medium.com/@mathewsam537/what-is-hdfs-c835205e1daa
canonical_url
https://medium.com/@mathewsam537/what-is-hdfs-c835205e1daa
author_url
https://medium.com/@mathewsam537
status
ok
fetched_at
2026-07-07 04:52:42