hadoop-hbase错误,搞了很久终于有结果了

在尝试使用Eclipse客户端连接Hbase时遇到RetriesExhaustedException,错误信息显示Connection refused。经过排查,问题出在所有Hadoop机器的hostname设置为localhost,需更改为别名如master、slave1,并重启Hbase服务以解决问题。
摘要由CSDN通过智能技术生成

hbase错误。。搞了很久,发现网上没找到,写上篇文章给大家点小福利

hbase创建成功了,能够在服务器上运行hbase shell创建表了,但是用eclipse客户端连就连不上,错误如下

Exception in thread "main" org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=35, exceptions:

Tue Jan 20 11:05:37 CST 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@1474e45, java.net.ConnectException: Connection refused: no further information
Tue Jan 20 11:05:38 CST 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@1474e45, org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60020
Tue Jan 20 11:05:38 CST 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@1474e45, org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60020
Tue Jan 20 11:05:39 CST 2015, org.apache.hadoop.hbase.client.RpcRetryingCaller@
  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 8
    评论
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值