Hadoop Distributed File System (HDFS)

Hadoop Distributed File System (HDFS)

Copyright: © 2019 |Pages: 27
DOI: 10.4018/978-1-5225-3790-8.ch005
OnDemand:
(Individual Chapters)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

Hadoop Distributed File System, which is popularly known as HDFS, is a Java-based distributed file system running on commodity machines. HDFS is basically meant for storing Big Data over distributed commodity machines and getting the work done at a faster rate due to the processing of data in a distributed manner. Basically, HDFS has one name node (master node) and cluster of data nodes (slave nodes). The HDFS files are divided into blocks. The block is the minimum amount of data (64 MB) that can be read or written. The functions of the name node are to master the slave nodes, to maintain the file system, to control client access, and to have control of the replications. To ensure the availability of the name node, a standby name node is deployed by failover control and fencing is done to avoid the activation of the primary name node during failover. The functions of the data nodes are to store the data, serve the read and write requests, replicate the blocks, maintain the liveness of the node, ensure the storage policy, and maintain the block cache size. Also, it ensures the availability of data.
Chapter Preview
Top

Background

Hortonworks (Hortonworks, 2017) stated, “HDFS is a scalable, fault-tolerant, distributed storage system that works closely with a wide variety of concurrent data access applications, coordinated by YARN”.

Cloudera (Cloudera Inc, 2017) supported Hadoop by stating:

HDFS is a fault-tolerant and self-healing distributed filesystem designed to turn a cluster of industry-standard servers into a massively scalable pool of storage. Developed specifically for large-scale data processing workloads where scalability, flexibility, and throughput are critical, HDFS accepts data in any format regardless of schema, optimizes for high-bandwidth streaming, and scales to proven deployments of 100PB and beyond.

Vangie Beal (Webopedia 2017) stated, “The primary objective of HDFS is to store data reliably even in the presence of failures including NameNode failures, DataNode failures and network partitions. “.

TechTarget (TechTarget, 2013) stated “Hadoop Distributed file system is designed to be highly fault-tolerant, facilitating the rapid transfer of data between compute nodes”.

Top

Architecture Of Hdfs

HDFS cluster consists of:

  • 1.

    One NameNode (Master Server): That manages file system namespace and regulates file access to clients.

  • 2.

    Number of DataNodes (Slave): One per each node in the cluster – which manages storage in its node.

The architecture is shown in Figure 1.

Figure 1.

HDFS architecture

978-1-5225-3790-8.ch005.f01

The NameNode and DataNode are software running on commodity machines using GNU/Linux operating system. Machines with Java can run NameNode and DataNode. Each node can run a single DataNode. But rarely a node can run multiple DataNodes also. Since the data are available on nodes where calculations have to be done, highest read performance is achieved. There is no shared bus between the nodes in the cluster. Point-to-point SAS (Serial Attached SCSI) or SATA (Serial Advanced Technology Attachment) disks are used. Hence highest performance is achieved.

Complete Chapter List

Search this Book:
Reset