hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Praveen Sripati <praveensrip...@gmail.com>
Subject Exception starting HBase
Date Wed, 18 Jan 2012 11:18:53 GMT
Hi,

I have installed HBase 0.90.5 on Ubuntu 11.10 and ran the
bin/start-hbase.sh command without any changes to the configuration files.
jps outputs only HMaster and in the log file the below exception is in the
hbase-praveensripati-master-ubuntu-host.log file. How do I get around this
error?

2012-01-18 11:40:51,929 DEBUG org.apache.hadoop.hbase.master.ServerManager:
New connection to localhost,46402,1326867045447
2012-01-18 11:40:51,946 INFO org.apache.hadoop.ipc.HbaseRPC: Server at /
127.0.0.1:46402 could not be reached after 1 tries, giving up.
2012-01-18 11:40:51,947 WARN
org.apache.hadoop.hbase.master.AssignmentManager: Failed assignment of
-ROOT-,,0.70236052 to serverName=localhost,46402,1326867045447,
load=(requests=0, regions=0, usedHeap=27, maxHeap=993), 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:46402 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:1176)
at
org.apache.hadoop.hbase.master.ServerManager.getServerConnection(ServerManager.java:627)
at
org.apache.hadoop.hbase.master.ServerManager.sendRegionOpen(ServerManager.java:564)
at
org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1065)
at
org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:875)
at
org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:855)
at
org.apache.hadoop.hbase.master.AssignmentManager.assignRoot(AssignmentManager.java:1334)
at
org.apache.hadoop.hbase.master.HMaster.assignRootAndMeta(HMaster.java:426)
at
org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:383)
at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:279)
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

When trying to create a table in the shell the below error is thrown

hbase(main):001:0> create 'test', 'data'

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

Also, stopping the HBase goes on for ever. Had to stop it using the kill
command.

Regards,
Praveen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message