Hbase启动失败,因为regionserver的主机名无法设置为localhost

Hbase启动失败,因为regionserver的主机名无法设置为localhost,hbase,Hbase,我有三个节点要启动Hbase cluster,但它无法启动Hmanter和RegionServer,异常如下: FATAL [main] regionserver.RSRpcServices: The hostname of regionserver cannot be set to localhost in a fully-distributed setup because it won't be reachable. See "Getting Started" for more inform

我有三个节点要启动Hbase cluster,但它无法启动Hmanter和RegionServer,异常如下:

FATAL [main] regionserver.RSRpcServices: The hostname of regionserver cannot be set to localhost in a fully-distributed setup because it won't be reachable. See "Getting Started" for more information.
2015-04-05 09:11:58,160 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
    at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:1982)
    at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:198)
    at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:139)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
    at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
    at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1996)
#127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
Caused by: java.io.IOException: The hostname of regionserver cannot be set to localhost in a fully-distributed setup because it won't be reachable.
它说区域服务器的主机名是Localhost。但事实并非如此,我的两个RegionServer的主机名分别是dev1.test.local和dev2.test.local。 我还在配置文件RegionServers中指定了IP。 我很好奇为什么HMaster认为RegionServer的主机名是localhost?
提前谢谢

在hbase 1.0中,您不能将主机添加为区域服务器。

非常感谢您的操作。我想我没有将主机添加为区域服务器,我有三个节点:192.168.100.5192.168.100.6192.168.100.7。100.5是主,100.6和100.7是从。在文件区域服务器中,我输入以下两个IP:192.168.100.6192.168.100.7。并将文件区域服务器复制到每个节点。我做错什么了吗?你能添加你的hbase-site.xml和区域服务器列表吗?非常感谢你,以下是我的hbase-site.xml:hbase.tmp.dir/data/hbase hbase.rootdirhdfs://192.168.100.6:9000/hbase hbase.cluster.distributed true hbase.zookeeper.quorum 192.168.100.6 hbase.master 192.168.100.7:60000我的区域服务器是:192.168.100.6 192.168.100.8hbase.master 192.168.100.7:60000将端口号更改为60010并定义ZK端口2222号