Briefing Cloudera Knowledge

How will the cluster handle the replication of file in this situation?

You use the hadoop fs –put command to add a file “sales.txt” to HDFS. This file is small
enough that it fits into a single block, which is replicated to three nodes in your cluster (with
a replication factor of 3). One of the nodes holding this file (a single block) fails. How will the
cluster handle the replication of file in this situation?

A.
The cluster will re-replicate the file the next time the system administrator reboots the
NameNode daemon (as long as the file’s replication factor doesn’t fall below)

B.
This will be immediately re-replicated and all other HDFS operations on the cluster will
halt until the cluster’s replication values are resorted

C.
The file will remain under-replicated until the administrator brings that node back online

D.
The file will be re-replicated automatically after the NameNode determines it is
under-replicated based on the block reports it receives from the NameNodes

Explanation: