hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Angeles <patr...@cloudera.com>
Subject Re: Is there any method to estimate how many files metadata I can store in name node ?
Date Wed, 09 Jun 2010 16:47:23 GMT
Hey Jeff,

A rough (but pretty good) estimation is 1GB per 1M blocks. So if you have
files that average 1.2GB each and you have a dfs.block.size of 128MB, then
it would take roughly 10 blocks to store that file, and you would be able to
store 100k of those files in 1GB of RAM.

Out of 8GB, I'd assume 7GB is usable for HDFS metadata. The remaining 1GB is
for operational overhead -- this is probably generous but it's better to
over-estimate when you're capacity planning.


- Patrick

On Wed, Jun 9, 2010 at 5:57 AM, Jeff Zhang <zjffdu@gmail.com> wrote:

> Hi all,
> I'd like to estimate how many files I can store in the my name node
> with 8G memory, Is there any estimation method ?
> --
> Best Regards
> Jeff Zhang

View raw message