hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff <svguy2...@yahoo.com>
Subject HBase standalone start issue
Date Wed, 20 Jul 2011 08:19:35 GMT
Hi,

I am trying to start HBase 0.90.3 in standalone mode and I get the following
errors. I follow the instructions in the QuckStart at apache site. I set the
JAVA_HOME and the conf/hbase-site.xml accordingly.

I start HBase with bin/start-hbase.sh script and the start the shell using 
bin/start-hbase.sh

When I want to run this command:

create 'test', 'cf'

I getthe following message:

ERROR: org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException:
org.apache.hadoop.hbase.NotAllMetaRegionsOnlineException: Timed out (10000ms)


There is an exception in master log file and there is no log file for zookeeper
and regionserver. Here is the exception in the master log file:


2011-07-20 01:01:49,213 WARN org.apache.hadoop.hbase.master.AssignmentManager:

Failed assignment of -ROOT-,,0.70236052 to
serverName=localhost,35385,1311148902080, load=(requests=0, regions=0,
usedHeap=26, maxHeap=995), trying to assign elsewhere instead; retry=0
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed setting up
proxy interface org.apache.hadoop.hbase.ipc.HRegionInterface to /127.0.0.1:35385
after attempts=1
	at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:355)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.
getHRegionConnection(HConnectionManager.java:957)
	at
org.apache.hadoop.hbase.master.ServerManager.
getServerConnection(ServerManager.java:618)
	at
org.apache.hadoop.hbase.master.ServerManager.
sendRegionOpen(ServerManager.java:553)
	at
org.apache.hadoop.hbase.master
.AssignmentManager.assign(AssignmentManager.java:931)
	at
org.apache.hadoop.hbase.master.
AssignmentManager.assign(AssignmentManager.java:746)
	at
org.apache.hadoop.hbase.master.
AssignmentManager.assign(AssignmentManager.java:726)
	at
org.apache.hadoop.hbase.master.
AssignmentManager.assignRoot(AssignmentManager.java:1200)
	at org.apache.hadoop.hbase.master.
HMaster.assignRootAndMeta(HMaster.java:432)
	at org.apache.hadoop.hbase.master.
HMaster.finishInitialization(HMaster.java:389)
	at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:283)
	at
org.apache.hadoop.hbase.master.
HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:193)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.
finishConnect(SocketChannelImpl.java:567)
	at 
org.apache.hadoop.net.SocketIOWithTimeout.
connect(SocketIOWithTimeout.java:206)
	at org.apache.hadoop.net.NetUtils.
connect(NetUtils.java:404)
	at
org.apache.hadoop.hbase.ipc.HBaseClient$Connection.
setupIOstreams(HBaseClient.java:328)
	at org.apache.hadoop.hbase.ipc.HBaseClient.
getConnection(HBaseClient.java:883)
	at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:750)
	at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.
invoke(HBaseRPC.java:257)
	at $Proxy7.getProtocolVersion(Unknown Source)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:419)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:393)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:444)
	at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBaseRPC.java:349)
	... 12 more
2011-07-20 01:01:49,215 WARN org.apache.hadoop.hbase.master.
AssignmentManager:
Unable to find a viable location to assign region -ROOT-,,0.70236052
2011-07-20 01:03:03,498 INFO org.apache.zookeeper.server.NIOServerCnxn: Accepted
socket connection from /127.0.0.1:56792


Any idea how I can solve this?

Thanks,
--Jeff


Mime
View raw message