Hbase Region Server不能启动
Hbase?Region Server不能启动。
?
查看日志连接localhost.localdomain:6000失败。
2013-09-08 23:17:12,109 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Attempting connect to Master server at localhost.localdomain,60000,1378653436554
2013-09-08 23:17:22,148 WARN org.apache.hadoop.hbase.regionserver.HRegionServer: Unable to connect to master. Retrying. Error was:
java.net.ConnectException: Connection refused
?
奇怪我xml里面配置的是
<property>
? ? <name>hbase.master</name>
? ? <value>master:60000</value>
?
? </property>
?
?
hosts配置
127.0.0.1 ? ? ? ? ? ? ? localhost.localdomain localhost
192.168.147.129 master
192.168.147.132 slave1
192.168.147.133 slave2
?
查看http://192.168.147.129:60010/master-status,发现页面头上也是Mster: localhost.localdomain:60000
为什么HMaster会启动在localhost
?
修改hosts,把127.0.0.1改为:
127.0.0.1 ? localhost ?,问题解决
http://192.168.147.129:60010/master-status显示Master: master:60000
?
再次启动Hbase:
2013-09-09 21:16:45,963 FATAL org.apache.hadoop.hbase.regionserver.HRegionServer: Master rejected startup because clock is out of sync
?
这是服务器之间时间不同步,改下即可。
?