HBase无法启动

HBase无法启动,hbase,Hbase,我正在安装Hbase 0.94.2,但它还不能正常工作。运行日志文件中的启动脚本: 2012-11-23 18:26:37,827 INFO org.apache.zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1 3b2e17842c0002, negotiated timeout = 40000 2012-11-23 18:26:37,

我正在安装Hbase 0.94.2,但它还不能正常工作。运行日志文件中的启动脚本:

2012-11-23 18:26:37,827 INFO org.apache.zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2181, sessionid = 0x1
3b2e17842c0002, negotiated timeout = 40000
2012-11-23 18:26:37,866 INFO org.apache.hadoop.ipc.HBaseRPC: Server at localhost/127.0.0.1:39699 could not be reached after 1 tries, giving up.
2012-11-23 18:26:37,867 WARN org.apache.hadoop.hbase.master.AssignmentManager: Failed assignment of -ROOT-,,0.70236052 to localhost,39699,135368
7992912, 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 loca
lhost/127.0.0.1:39699 after attempts=1
.
.
.
2012-11-23 18:26:37,869 WARN org.apache.hadoop.hbase.master.AssignmentManager: Unable to find a viable location to assign region -ROOT-,,0.70236
052
2012-11-23 18:29:53,157 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master
这是一个Ubuntu 12.04 LTS VirtualBox,1GB内存,10GB可用磁盘空间,带有Oracle JRE 1.6.037

我发现了一些关于/etc/hosts的变通方法,但不确定它们是否相关。我的etc/主机仅包含:

127.0.0.1   localhost
127.0.1.1   'my-host-name'

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
任何帮助或推荐到专门的HBase论坛都将不胜感激!
谢谢

好的,这很简单,/etc/hosts中的主机名刚刚从127.0更改为127.0。1.1。0.1,因此现在本地主机名解析为后者,而不是前者。Hbase快速回答论坛就在这里,这里得到了友好的回答。 但不确定为什么有必要进行此更改