Mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Do multiple small files share one block?
Date Thu, 27 Mar 2008 18:53:59 GMT
Robert Krüger wrote:
> this seems like an FAQ but I didn't explicitly see it in the docs: Is 
> the minmium size a file occupies on HDFS controlled by the block size, 
> i.e. would using the default block size of 64 B result in consumption of 
> 64 MB if I stored a file of 1 byte?

No.  The last block in a file is only be as long as it needs to be.

Doug

Mime
View raw message