Re: NameNode per-block memory usage?

2012-01-30 Thread ke yuan
how much blocks a file has depends on your data status,please consider it according to your data status 2012/1/18 prasenjit mukherjee prasen@gmail.com Does it mean that on an average 1 file has only 2 blocks ( with replication=1 ) ? On 1/18/12, M. C. Srivas mcsri...@gmail.com

Re: NameNode per-block memory usage?

2012-01-18 Thread prasenjit mukherjee
Does it mean that on an average 1 file has only 2 blocks ( with replication=1 ) ? On 1/18/12, M. C. Srivas mcsri...@gmail.com wrote: Konstantin's paper http://www.usenix.org/publications/login/2010-04/openpdfs/shvachko.pdf mentions that on average a file consumes about 600 bytes of memory in

Re: NameNode per-block memory usage?

2012-01-18 Thread prasenjit mukherjee
Does it mean that on an average 1 file has only 2 blocks ( with replication=1 ) ? On 1/18/12, M. C. Srivas mcsri...@gmail.com wrote: Konstantin's paper http://www.usenix.org/publications/login/2010-04/openpdfs/shvachko.pdf mentions that on average a file consumes about 600 bytes of memory in

NameNode per-block memory usage?

2012-01-17 Thread Otis Gospodnetic
Hello, How much memory/JVM heap does NameNode use for each block? I've tried locating this in the FAQ and on search-hadoop.com, but couldn't find a ton of concrete numbers, just these two: http://search-hadoop.com/m/RmxWMVyVvK1 - 150 bytes/block? http://search-hadoop.com/m/O886P1VyVvK1 - 1 GB

Re: NameNode per-block memory usage?

2012-01-17 Thread Joey Echeverria
How much memory/JVM heap does NameNode use for each block? I don't remember the exact number, it also depends on which version of Hadoop you're using http://search-hadoop.com/m/O886P1VyVvK1 - 1 GB heap for every object? It's 1 GB for every *million* objects (files, blocks, etc.). This is a

Re: NameNode per-block memory usage?

2012-01-17 Thread Edward Capriolo
On Tue, Jan 17, 2012 at 10:08 AM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Hello, How much memory/JVM heap does NameNode use for each block? I've tried locating this in the FAQ and on search-hadoop.com, but couldn't find a ton of concrete numbers, just these two:

Re: NameNode per-block memory usage?

2012-01-17 Thread M. C. Srivas
Konstantin's paper http://www.usenix.org/publications/login/2010-04/openpdfs/shvachko.pdf mentions that on average a file consumes about 600 bytes of memory in the name-node (1 file object + 2 block objects). To quote from his paper (see page 9) .. in order to store 100 million files