Jan 11, 2020 in Big Data | Hadoop
Q: How much storage is allocated by HDFS for storing a file of 25 MB size?

1 Answer

0 votes
Jan 11, 2020

This is a question to test the basic concepts of HDFS. In HDFS, all the data is stored in blocks. The size of block can be configured in HDFS.

In Apache Hadoop, the default block size is 64 MB. To store a file of 25 MB size, at least one block will be

 

allocated. This means at least 64 MB will be allocated for the file of 25 MB size.

Related questions

0 votes
Jan 26, 2020 in Big Data | Hadoop
0 votes
Jan 11, 2020 in Big Data | Hadoop
...