Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is the default replication factor in HDFS for a hadoop cluster having 100 data nodes ?

  • A.1
  • B.2
  • C.3
  • D.4

Answer: C

The default replication factor is 3.

HDFS stores each block on three DataNodes by default (the dfs.replication setting is 3). With rack awareness, one replica is placed on the writer's node or rack and the other two on a different rack, so the data survives the loss of a node or a whole rack.

The default does not depend on the size of the cluster; a 100-node cluster still uses 3 unless an administrator changes it. 1 would leave no redundancy, and 2 and 4 are possible settings but not the default.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.