0

当我尝试从客户端连接到 HBase 集群时,我遇到了一个奇怪的问题。客户端似乎正在获取串联的 HOSTNAME 和 IP,并且无法连接到主服务器。以下是日志文件中的相关部分:

12/09/27 13:28:41 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 0 of 10 failed; retrying after sleep of 1000
java.net.UnknownHostException: **?130062@HOSTNAMEIP**
        at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.<init>(HBaseClient.java:224)
        at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:954)
        at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:816)
        at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:141)
        at $Proxy4.getProtocolVersion(Unknown Source)
        at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:174)
        at org.apache.hado

以前有人遇到过这个问题吗?

4

1 回答 1

0

您的 /etc/hosts 文件似乎有问题

于 2012-10-28T06:20:53.007 回答