I am using HBase 0.94.2-cdh4.2.2. And I have succesfully made run on other nodes before. But when I use the same configuration on a new node, it fails.
java version is "1.6.0_24" uname -a is Linux hadoop07.ihep.ac.cn 2.6.18-348.3.1.el5 #1 SMP Mon Mar 11 15:43:13 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux Thanks > -----原始邮件----- > 发件人: "Ted Yu" <[email protected]> > 发送时间: 2014年1月22日 星期三 > 收件人: "[email protected]" <[email protected]> > 抄送: > 主题: Re: Re: cannot start hregionserver > > Xiaofeng: > Can you tell us which HBase version you're using ? > > Please paste the output from: > > java -version > uname -a > > Thanks > > > On Tue, Jan 21, 2014 at 12:15 AM, LEI Xiaofeng <[email protected]> wrote: > > > free -m > > > > total used free shared buffers cached > > Mem: 24097 783 23313 0 1 42 > > -/+ buffers/cache: 739 23357 > > Swap: 24575 0 24575 > > > > > > > -----原始邮件----- > > > 发件人: haosdent <[email protected]> > > > 发送时间: 2014年1月21日 星期二 > > > 收件人: [email protected] > > > 抄送: > > > 主题: Re: cannot start hregionserver > > > > > > Use "free" cmd to get more details about you available memory. > > > > > > > > > On Tue, Jan 21, 2014 at 2:44 PM, LEI Xiaofeng <[email protected]> wrote: > > > > > > > Hi, > > > > I added a new node to my HBase cluster. The PC is the same as the old > > > > ones. It has 24G memory. When I tried to start regionserver on that > > node, I > > > > got error below: > > > > > > > > Could not create the Java virtual machine. > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > > > Could_not_reserve_enough_space_for_object_heap > > > > Caused by: java.lang.ClassNotFoundException: > > > > Could_not_reserve_enough_space_for_object_heap > > > > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > > > > at java.security.AccessController.doPrivileged(Native Method) > > > > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > > > > at > > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > > > Could not find the main class: > > > > Could_not_reserve_enough_space_for_object_heap. Program will exit. > > > > > > > > I tried to decrease the value of HBASE_HEAPSIZE. But it did not help. > > Does > > > > anyone can give me some advice? > > > > > > > > Thanks > > > > > > > > > > > > > > > > -- > > > Best Regards, > > > Haosdent Huang > > > >
