What happens when a file in HDFS is smaller than the Hadoop block size?

  • Data Block Size Adjustment
  • Data Compression
  • Data Padding
  • Data Replication
When a file in HDFS is smaller than the Hadoop block size, padding is applied. The file does not occupy the entire block, and the remaining space is padded with zeros. This approach ensures uniformity in block size, simplifying data management and storage.
Add your answer
Loading...

Leave a comment

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