HDFS (Hadoop Distributed File System)

HDFS is a distributed file system called Hadoop Distributed File System. It is based on the master-slave architecture. An HDFS cluster consists of single name node called Master Node that manages the file system namespace and regulates the access to files by clients, and multiple data nodes called Saves usually one per node in the cluster, which manage the storage attached to the nodes that they run on.

Internally, a file is split into one or more blocks and these blocks are stored in a set of Data Nodes. The Name Node executes the file system namespace operations like opening, closing, and renaming files and directories. It also determines the mapping of blocks to Data Nodes.

The Data Nodes are responsible for serving read and write requests from the file system’s clients. The Data Nodes also perform block creation, deletion, and replication upon instruction from the Name Node.

HDFS Concepts

HDFS Concepts

Name Node

Data Node

HDFS Ideas

HDFS is not designed to,

HDFS Blocks

Why the block size is so large

HDFS

Fig. HDFS Architecture