hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <eric.char...@u-mangate.com>
Subject Re: My Hbase got some problem with starting
Date Thu, 28 Apr 2011 15:24:24 GMT
Seems like your previous hbase is not really stopped (see the "Address 
already in use" message).

Retry stop-hbase.sh or "ps -ef | grep hbase" and "kill -9 pid" the 
remaining processes.

Tks,
- Eric

On 28/04/2011 16:48, Kerry wang wrote:
> I cannot start my hbase master after a shutting down.
> Here is the log of starting hbase master
>
> ulimit -n 1024
> 2011-04-28 22:23:14,516 INFO org.apache.hadoop.hbase.master.HMaster:
> vmName=Java HotSpot(TM) Server VM, vmVendor=Sun Microsystems Inc.,
> vmVersion=17.1-b03
> 2011-04-28 22:23:14,517 INFO org.apache.hadoop.hbase.master.HMaster:
> vmInputArguments=[-Xmx1000m, -XX:NewSize=64m, -XX:MaxNewSize=64m,
> -XX:+HeapDumpOnOutOfMemoryError, -XX:+UseConcMarkSweepGC,
> -XX:+CMSIncrementalMode, -verbose:gc, -XX:+PrintGCDetails,
> -XX:+PrintGCDateStamps,
> -Xloggc:/home/Hadoop/distributed_hadoop/hbase/logs/gc-hbase.log,
> -XX:NewSize=64m, -XX:MaxNewSize=64m, -XX:+HeapDumpOnOutOfMemoryError,
> -XX:+UseConcMarkSweepGC, -XX:+CMSIncrementalMode, -verbose:gc,
> -XX:+PrintGCDetails, -XX:+PrintGCDateStamps,
> -Xloggc:/home/Hadoop/distributed_hadoop/hbase/logs/gc-hbase.log,
> -XX:NewSize=64m, -XX:MaxNewSize=64m, -XX:+HeapDumpOnOutOfMemoryError,
> -XX:+UseConcMarkSweepGC, -XX:+CMSIncrementalMode, -verbose:gc,
> -XX:+PrintGCDetails, -XX:+PrintGCDateStamps,
> -Xloggc:/home/Hadoop/distributed_hadoop/hbase/logs/gc-hbase.log,
> -Dhbase.log.dir=/home/Hadoop/distributed_hadoop/hbase/logs,
> -Dhbase.log.file=hbase-huidaqiu-master-hd169.log,
> -Dhbase.home.dir=/home/Hadoop/distributed_hadoop/hbase,
> -Dhbase.id.str=huidaqiu, -Dhbase.root.logger=INFO,DRFA,
> -Djava.library.path=/home/Hadoop/distributed_hadoop/hbase/lib/native/Linux-i386-32]
> 2011-04-28 22:23:14,561 INFO org.apache.hadoop.hbase.master.HMaster: My
> address is hd169:60000
> 2011-04-28 22:23:14,802 ERROR org.apache.hadoop.hbase.master.HMaster: Can
> not start master
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1233)
> at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1274)
> Caused by: java.net.BindException: Problem binding to /192.9.200.169:60000 :
> Address already in use
> at org.apache.hadoop.hbase.ipc.HBaseServer.bind(HBaseServer.java:179)
> at
> org.apache.hadoop.hbase.ipc.HBaseServer$Listener.<init>(HBaseServer.java:242)
> at org.apache.hadoop.hbase.ipc.HBaseServer.<init>(HBaseServer.java:998)
> at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.<init>(HBaseRPC.java:637)
> at org.apache.hadoop.hbase.ipc.HBaseRPC.getServer(HBaseRPC.java:596)
> at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:224)
> ... 6 more
> Caused by: java.net.BindException: Address already in use
> at sun.nio.ch.Net.bind(Native Method)
> at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
> at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
> at org.apache.hadoop.hbase.ipc.HBaseServer.bind(HBaseServer.java:177)
> ... 11 more
>
> I considered about the address, but I checked the port of
> 192.9.200.169:60000 and found no session on this port.
> Thanks for helping.
>

Mime
View raw message