PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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:

5 Comments on “How will the cluster handle the replication of file in this situation?


Leave a Reply

Your email address will not be published. Required fields are marked *