0
我按照稍微簡單的http://hbase.apache.org/book/quickstart.html安裝了Hbase 0.94.2,但它還沒有正常工作。運行啓動腳本我在日誌文件中得到:HBase無法啓動
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.0_37。
我發現了一些關於/ etc/hosts的變通方法,但我不確定它們是否相關。我的等/主機只包含:
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論壇將不勝感激! 謝謝!