You are writing a 10GB file into HDFS with a replication of 2 and block size of 64MB. How much total disk space will this file use?
Answers
Answered by
0
Answer:
The default block size in hdfs datanodes is 64mb. But you can increase to 128,256mb as per you requirement. The replication factor is 3 by default but you can increase this also.
Since you have 128mb it will divide into 2 blocks. And 3 replication of each block will be done across commodity hardwares across the cluster.
Namenode has all the metadata of replications and availability of spaces in datanodes
Similar questions