0 votes
in Big Data | Hadoop by
How much storage is allocated by HDFS for storing a file of 25 MB size?

1 Answer

0 votes
by

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
asked Jan 11, 2020 in Big Data | Hadoop by rajeshsharma
+1 vote
asked Oct 28, 2020 in Hadoop by rahuljain1
...