What happens if a DataNode fails in an HDFS cluster?
Answer
HDFS uses replication to recover lost data blocks.
Explanation
HDFS is designed for fault tolerance. If a DataNode fails, the NameNode detects the failure and initiates the process of replicating the lost data blocks from other DataNodes to maintain the desired replication factor.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which command is used to list the contents of a directory in HDFS?
View question →
Which component in YARN is responsible for negotiating resources with the ResourceManager and monitoring containers?
View question →
What is the typical block size in HDFS for Hadoop 2.x and later versions?
View question →
Which of the following is NOT a characteristic of HDFS?
View question →
Which YARN daemon runs on each node in the cluster and manages resources for containers?
View question →
What does YARN stand for in the context of Hadoop?
View question →