具体的错误信息如下:
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=35, exceptions: Mon Aug 25 12:00:40 CST 2014, org.apache.hadoop.hbase.client.RpcRetryingCaller@1a58c9e, java.net.ConnectException: Connection refused: no further information Mon Aug 25 12:00:41 CST 2014, org.apache.hadoop.hbase.client.RpcRetryingCaller@1a58c9e, org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60020 Mon Aug 25 12:00:41 CST 2014, org.apache.hadoop.hbase.client.RpcRetryingCaller@1a58c9e, org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60020 Mon Aug 25 12:00:42 CST 2014, org.apache.hadoop.hbase.client.RpcRetryingCaller@1a58c9e, org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: localhost/127.0.0.1:60020
看到也有不少网友出现类似的问题,这里给出几种解决方案供大家参考:
1. Hbase 绑定多网卡导致的:
具体的解决办法可以参考http://www.netfoucs.com/article/uniquechao/84105.html以及http://www.tuicool.com/articles/quuURb这里就不累述了。
2. zookeeper引起的,这种情况通常出现于hbase自身管理的zookeeper时,往往是你运行的一个进程正在操作hbase数据库的时候,hbase进程被杀掉或hbase服务被停掉所引起的,解决办法可以将hbase的zookeeper目录下的文件全都删除掉,然后再重启hbase服务就可以了。此外,请不要忘记配置zookeeper的的目录为属性hbase.zookeeper.property.dataDir。
3. 这也是我所遇到情况,主要是由于/etc/hosts文件中的配置不正确造成的,需要注意的是首先在运行时必须知道当前运行hbase是的hostname是什么,以及其在hosts中对应的ip是多少,如果和自己需要的不符合,在修改后切勿忘记重新ssh一下,并确认/home/***/.ssh/kown_hosts中是否以及存在("***"为你运行hbase的用户名)。ok,这样问题应该可以解决了
相关推荐
apache xml rpc client
= 1.7 安装了 安装在本地主机上的如何建造解决Maven依赖$ mvn dependency:copy-dependencies使用maven mvn构建jar $ mvn package怎么跑启动Rabbitmq经纪人从target文件夹中生成的jar运行RpcServer $ java -cp target...
微服务分布式架构实践,rpc-server 服务器端,下载即运行[1.3.3]
RPC设计思路图------RPC设计思路图-----------RPC设计思路图
netty编写的服务端和客户端 redis作为注册中心,与业务中心互相订阅通信,...可以打包jar单独运行,也可以作为依赖jar引入项目 使用kryo/protostuff两种序列化协议 使用random/round两种负载均衡算法 请先看看README.md
JAX-RPC 构建 RPC 服务和客户机,使用 Java API 构建基于 RPC 的 Web 服务
异步回调和同步回调相比,除了序列化组件和连接池组件,会多...异步回调能提高系统整体的吞吐量,具体使用哪种方式实现RPC-client,可以结合业务场景来选取(对时延敏感的可以选用同步,对吞吐量敏感的可以选用异步)。
phprpc的客户端jar包,没有其他要说的了
xml - rpc客户端 扩展测试XML-RPC服务器 支持语言:English
安装打印机时RPC服务器不可用的解决安装打印机时RPC服务器不可用的解决
JAVA WEB开发中一个很强大的JAR包!
java客户端与openerp通过jsonrpc来进行交互
微服务架构之RPC-client序列化细节
swoft-rpc-client安装composer require limingxinleo/swoft-rpc-client使用定义客户端<?phpnamespace SwoftTest \ Rpc \ Testing \ Clients ;use SwoftTest \ Rpc \ Testing \ Lib \ DemoServiceInterface ;use ...
什么是amqp-rpc-client? 它是一种可立即投入生产,简单,基于承诺的且与回调兼容的AMQP RPC客户端。快速开始npm install amqp-rpc-client 然后: var AmqpRpcClient = require('amqp-rpc-client');var rpcClient = ...
java 手写rpc框架 rpc-server and rpc-client
分布式系统作业,unix RPC 双服务器单客户端银行系统,一个主服务器,一个备用服务器
/* this ALWAYS GENERATED file contains the RPC client stubs */ /* File created by MIDL compiler version 5.01.0164 */ /* at Mon Oct 27 00:34:14 2008 */ /* Compiler settings for srvsvc.idl: Os ...
安装打印机时RPC服务器不可用的解决方法