On 13/08/10 22:24, Allen Wittenauer wrote:

On Aug 13, 2010, at 11:41 AM, Jinsong Hu wrote:


and run the namenode with the following jvm config
-Xmx1000m  -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode 
-XX:+DisableExplicitGC -XX:+HeapDumpOnOutOfMemoryError -XX:+UseCompressedOops 
-XX:+DoEscapeAnalysis -XX:+AggressiveOpts  -Xmx2G

Only 2g heap for NN?

This crashing problem doesn't happen with a small cluster of 4 datanodes. but 
it happens with a cluster of 17 datanodes.

Bump your heap up and try again.



1. I'd worry about some of the XX options too, try turnining off the more bleeding edge features
-XX:+DoEscapeAnalysis -XX:+AggressiveOpts

2. There's an -Xmx1000m and a -Xmx2G -you may only get a 1Gb heap which is less than I'd use for an IDE.

Reply via email to