That JDK is unstable. I would highly recommend 1.6.0_16. I would also use the 
Sun JVM and not OpenJDK that comes with CentOS. There are differences. You can 
find JDK 6 u 16 here.

http://java.sun.com/products/archive/j2se/6u16/index.html
________________________________________
From: Richard Lackey [[email protected]]
Sent: Friday, August 13, 2010 3:06 PM
To: [email protected]
Subject: Re: namenode crash

I am using CentOS 5.5 with suggested updates. JDK 1.6.0_21, JRE 1.6.0_21 all x64

Rich

Rich Lackey
RoamingCloud, LLC
President, CTO

408-373-7772
[email protected]



On Aug 13, 2010, at 1:27 PM, Jinsong Hu wrote:

>
>
> Hi, There:
>  does anybody know of a good combination of centos version and jdk version 
> that works stably ? I am using centos version
>
> Linux  2.6.18-194.8.1.el5.centos.plus #1 SMP Wed Jul 7 11:45:38 EDT 2010
> x86_64 x86_64 x86_64 GNU/Linux
>
> jdk version
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
>
> 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
>
> but it crashed silently after 16 hours.
>
> I used jdk
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
>
> with the same jvm config, and the namenode crashed in about 1 week. I 
> searched internet and people say 1.6.0_18 is not good.
> but does anybody can recommend a good combination of jdk and os version that 
> can run stably ?
>
>
> This crashing problem doesn't happen with a small cluster of 4 datanodes. but 
> it happens with a cluster of 17 datanodes.
>
> Jimmy.
>
>

Reply via email to