在log中的提示为
2012-07-10 16:11:19,559 DEBUG org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation: Lookedup root region location, connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@23faa614; serverName=
2012-07-10 16:11:20,774 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:22,274 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:23,775 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:25,275 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:26,775 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:28,276 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:29,776 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:31,277 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:32,777 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
2012-07-10 16:11:34,278 INFO org.apache.hadoop.hbase.master.ServerManager: Waiting on regionserver(s) to checkin
请教各位大神,这是怎么回事呢?
参考这篇文章Hbase Tutorial: Creating A Table,好像先要通过命令hbase-daemon.sh start master将Hbase Master server启动起来。
我使用了按照你提供的方法,试了hbase-daemon.sh start master,不过得到的提示是hbase-daemon.sh start master,我查看我启动的服务发现HMaster已经启动了。使用list命令也能使用。但是就是不能使用create tablename,column-family命令,还是会出现如上面的提示。
@傲视天下3314: Hbase的版本是多少?
@dudu:版本号是hbase-0.92.1,后来我在stackoverflow网站上找了一个解决办法,将/etc/hosts中user对应的ip:127.0.1.1改为127.0.0.1,然后重启程序,就可以了。我也不知道这是怎么回事。还是把分给你吧,谢谢提供办法。
@傲视天下3314: 解决了就好,localhost的IP一般都是127.0.0.1