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