hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ma qiang" <maqiang1...@gmail.com>
Subject Re: can't connect to HBase any more
Date Thu, 24 Jan 2008 06:21:40 GMT
I'm sure I run the hadoop and hbase using the command .
I print the master is running using admin.isMasterRunning()==true;
I have seen the hbase log, I  find the follow message in log as below;
  Can you help me to solve this problem?  Thank you very much!


2008-01-23 21:34:29,679 INFO
org.apache.hadoop.hbase.HMaster$RootScanner: HMaster.rootScanner
exiting
2008-01-23 21:34:31,065 INFO org.apache.hadoop.hbase.HMaster: Waiting
on following regionserver(s) to go down (or region server lease
expiration, whichever happens first): [address: 127.0.1.1:60020,
startcode: -4600488168642437787, load: (requests: 0 regions: 7)]
2008-01-23 21:34:35,743 INFO
org.apache.hadoop.hbase.HMaster$MetaScanner: HMaster.metaScanner
exiting
2008-01-23 21:34:41,065 INFO org.apache.hadoop.hbase.HMaster: Waiting
on following regionserver(s) to go down (or region server lease
expiration, whichever happens first): [address: 127.0.1.1:60020,
startcode: -4600488168642437787, load: (requests: 0 regions: 7)]
2008-01-23 21:34:51,065 INFO org.apache.hadoop.hbase.HMaster: Waiting
on following regionserver(s) to go down (or region server lease
expiration, whichever happens first): [address: 127.0.1.1:60020,
startcode: -4600488168642437787, load: (requests: 0 regions: 7)]
2008-01-23 21:34:58,682 INFO org.apache.hadoop.hbase.Leases:
HMaster.leaseChecker lease expired 1377822776/1377822776
2008-01-23 21:34:58,682 INFO org.apache.hadoop.hbase.HMaster:
127.0.1.1:60020 lease expired
2008-01-23 21:34:58,682 INFO org.apache.hadoop.hbase.HMaster: Stopping
infoServer
2008-01-23 21:34:58,683 INFO org.mortbay.util.ThreadedServer: Stopping
Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=60010]
2008-01-23 21:34:58,750 INFO org.mortbay.http.SocketListener: Stopped
SocketListener on 0.0.0.0:60010
2008-01-23 21:34:58,791 INFO org.mortbay.util.Container: Stopped
HttpContext[/static,/static]
2008-01-23 21:34:58,845 INFO org.mortbay.util.Container: Stopped
HttpContext[/logs,/logs]
2008-01-23 21:34:58,845 INFO org.mortbay.util.Container: Stopped
org.mortbay.jetty.servlet.WebApplicationHandler@1c50507
2008-01-23 21:34:58,944 INFO org.mortbay.util.Container: Stopped
WebApplicationContext[/,/]
2008-01-23 21:34:58,944 INFO org.mortbay.util.Container: Stopped
org.mortbay.jetty.Server@1dd3812
2008-01-23 21:34:58,944 INFO org.apache.hadoop.ipc.Server: Stopping
server on 60000
2008-01-23 21:34:58,944 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 1 on 60000: exiting
2008-01-23 21:34:58,944 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 3 on 60000: exiting
2008-01-23 21:34:58,944 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 6 on 60000: exiting
2008-01-23 21:34:58,944 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 9 on 60000: exiting
2008-01-23 21:34:58,955 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 8 on 60000: exiting
2008-01-23 21:34:58,955 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 7 on 60000: exiting
2008-01-23 21:34:58,955 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 5 on 60000: exiting
2008-01-23 21:34:58,955 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 4 on 60000: exiting
2008-01-23 21:34:58,955 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 2 on 60000: exiting
2008-01-23 21:34:58,955 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 0 on 60000: exiting
2008-01-23 21:34:58,956 INFO org.apache.hadoop.hbase.Leases: HMaster
closing leases
2008-01-23 21:34:58,956 INFO
org.apache.hadoop.hbase.Leases$LeaseMonitor: HMaster.leaseChecker
exiting
2008-01-23 21:34:58,956 INFO org.apache.hadoop.hbase.Leases: HMaster
closed leases
2008-01-23 21:34:58,956 INFO org.apache.hadoop.hbase.HMaster: HMaster
main thread exiting
2008-01-23 21:34:58,957 INFO org.apache.hadoop.ipc.Server: Stopping
IPC Server listener on 60000






On Jan 24, 2008 1:25 PM, stack <stack@duboce.net> wrote:
> Is hbase running?
>
> Check your logs to see if you can figure why client is unable to
> connect.  See $HADOOP_HOME/logs.  Look in the hbase* logs.
>
> St.Ack
>
>
>
> ma qiang wrote:
> > I connect to HBase using HBaseAdmin and HTable class succefully,
> > suddenly  can't manipulate HBase and the error print as belows:
> >
> > java.net.SocketTimeoutException: timed out waiting for rpc response
> >       at org.apache.hadoop.ipc.Client.call(Client.java:484)
> >       at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:184)
> >       at $Proxy0.deleteTable(Unknown Source)
> >       at org.apache.hadoop.hbase.HBaseAdmin.deleteTable(HBaseAdmin.java:169)
> >       at hbasetest.DeleteTable.main(DeleteTable.java:29)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >       at java.lang.reflect.Method.invoke(Method.java:597)
> >       at org.apache.hadoop.util.RunJar.main(RunJar.java:155)
> >
> > Can you tell me why and how to solve this problem. Thank you very much.
> >
> > Best wishes;
> >
>
>

Mime
View raw message