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

Discussion

What is the default Hadoop dfs block size ?

  • A.32 MB/64 MB
  • B.64 MB/128 MB
  • C.32 MB/128 MB
  • D.128 MB/256 MB

Answer: B

The default block sizes are 64 MB/128 MB.

HDFS stores files in large blocks to reduce seek overhead and the amount of metadata the NameNode must hold. The default block size was 64 MB in Hadoop 1.x and was raised to 128 MB from Hadoop 2.x onwards; it can be changed with the dfs.blocksize setting.

32 MB was never the default, and 256 MB is a common setting chosen by administrators for very large files, not the default. So every other pair is wrong.

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

Post your comment

Please log in or register to post a comment.