HDFS

29 / 58
HDFS - If there is a file of size 270 Megabytes in...

If there is a file of size 270 Megabytes in HDFS, how many blocks would be there and what would be the size of each block?

  • 3 blocks (128MB, 128MB, 128MB). The last block will have padding and will consume same space.
  • 3 blocks (90MB, 90MB, 90MB). The data will be equally distributed
  • The size of block is a function of what record size we have
  • 3 blocks (128MB, 128MB, 14MB)