hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: hmaster reports 0 region servers
Date Fri, 15 Oct 2010 17:06:12 GMT
Check what's happening in the master log before it prints those lines
(see if the region server gets checked in or not, seems like the RS
thinks so), if you're not sure try getting a full log into a pastebin
and post it here.

J-D

On Thu, Oct 14, 2010 at 9:07 PM, Tao Xie <xietao.mailbox@gmail.com> wrote:
> I applied the patch for HBASE-2939. (The patch is for 0.89 but my code is
> 0.20.6, I checked the patch found it only changed one connection thread at
> client side to a pool strategy.)
> But when I rebuild the source and start hbase cluster. The master cannot
> recognize regionservers though they are running.
> Any one encounter this problem before? Thanks for any suggestions.
>
> See the logs below.
> master:
> 2010-10-15 18:25:13,220 INFO org.apache.hadoop.hbase.master.ServerManager: 0
> region servers, 0 dead, average load NaN
> 2010-10-15 18:25:13,268 INFO org.apache.hadoop.hbase.master.BaseScanner: All
> 0 .META. region(s) scanned
> 2010-10-15 18:26:13,224 INFO org.apache.hadoop.hbase.master.ServerManager: 0
> region servers, 0 dead, average load NaN
> 2010-10-15 18:26:13,272 INFO org.apache.hadoop.hbase.master.BaseScanner: All
> 0 .META. region(s) scanned
> 2010-10-15 18:27:13,228 INFO org.apache.hadoop.hbase.master.ServerManager: 0
> region servers, 0 dead, average load NaN
> 2010-10-15 18:27:13,276 INFO org.apache.hadoop.hbase.master.BaseScanner: All
> 0 .META. region(s) scanned
>
> zookeeper:
> 2010-10-15 18:21:03,577 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Connected to /10.1.0.15:42299 lastZxid 0
> 2010-10-15 18:21:03,577 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Creating new session 0x12baf682c670000
> 2010-10-15 18:21:03,578 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Connected to /10.1.0.17:45088 lastZxid 0
> 2010-10-15 18:21:03,579 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Creating new session 0x12baf682c670001
> 2010-10-15 18:21:03,580 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Connected to /10.1.0.16:40916 lastZxid 0
> 2010-10-15 18:21:03,580 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Creating new session 0x12baf682c670002
> 2010-10-15 18:21:03,587 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Finished init of 0x12baf682c670000 valid:true
> 2010-10-15 18:21:03,588 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Finished init of 0x12baf682c670001 valid:true
> 2010-10-15 18:21:03,588 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Finished init of 0x12baf682c670002 valid:true
> 2010-10-15 18:21:03,730 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Connected to /10.1.0.20:57115 lastZxid 0
> 2010-10-15 18:21:03,730 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Creating new session 0x12baf682c670003
> 2010-10-15 18:21:03,731 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Finished init of 0x12baf682c670003 valid:true
> 2010-10-15 18:21:03,776 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Connected to /10.1.0.19:29878 lastZxid 0
> 2010-10-15 18:21:03,776 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Creating new session 0x12baf682c670004
> 2010-10-15 18:21:03,777 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Finished init of 0x12baf682c670004 valid:true
> 2010-10-15 18:21:03,831 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Connected to /10.1.0.22:40435 lastZxid 0
> 2010-10-15 18:21:03,831 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Creating new session 0x12baf682c670005
> 2010-10-15 18:21:03,832 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Finished init of 0x12baf682c670005 valid:true
> 2010-10-15 18:21:13,211 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Connected to /10.1.0.14:36176 lastZxid 0
> 2010-10-15 18:21:13,211 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Creating new session 0x12baf682c670006
> 2010-10-15 18:21:13,212 INFO org.apache.zookeeper.server.NIOServerCnxn:
> Finished init of 0x12baf682c670006 valid:true
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.SessionTrackerImpl:
> Expiring session 0x12baf34a9d70003
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Expiring session 0x12baf34a9d70003
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.SessionTrackerImpl:
> Expiring session 0x12baf34a9d70006
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Expiring session 0x12baf34a9d70006
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.SessionTrackerImpl:
> Expiring session 0x12baf34a9d70005
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Expiring session 0x12baf34a9d70005
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.SessionTrackerImpl:
> Expiring session 0x12baf34a9d70001
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Expiring session 0x12baf34a9d70001
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.SessionTrackerImpl:
> Expiring session 0x12baf34a9d70004
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Expiring session 0x12baf34a9d70004
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.SessionTrackerImpl:
> Expiring session 0x12baf34a9d70002
> 2010-10-15 18:23:06,003 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Expiring session 0x12baf34a9d70002
> 2010-10-15 18:23:06,004 INFO org.apache.zookeeper.server.SessionTrackerImpl:
> Expiring session 0x12baf34a9d70007
> 2010-10-15 18:23:06,004 INFO org.apache.zookeeper.server.ZooKeeperServer:
> Expiring session 0x12baf34a9d70007
>
> One RS:
> The logs stops at
> 2010-10-15 18:21:10,269 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Got ZooKeeper event,
> state: SyncConnected, type: NodeCreated, path: /hbase/master
> 2010-10-15 18:21:10,271 DEBUG
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Read ZNode /hbase/master
> got 10.1.0.14:60000
> 2010-10-15 18:21:10,271 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Telling master at
> 10.1.0.14:60000 that we are up
> 2010-10-15 18:21:10,701 DEBUG
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Read ZNode /hbase/master
> got 10.1.0.14:60000
> 2010-10-15 18:21:10,701 INFO
> org.apache.hadoop.hbase.regionserver.HRegionServer: Telling master at
> 10.1.0.14:60000 that we are up
> 2010-10-15 18:24:10,326 DEBUG
> org.apache.hadoop.hbase.regionserver.HRegionServer: sending initial server
> load: requests=0, regions=0, usedHeap=27, maxHeap=1781
> 2010-10-15 18:24:10,327 DEBUG
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Set watcher on master
> address ZNode /hbase/master
> 2010-10-15 18:24:10,332 DEBUG
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper: Created ZNode
> /hbase/rs/1287138250326 with data 10.1.0.15:60020
>

Mime
View raw message