开发者社区> 问答> 正文

hbase client ipc异常

部分客户端不定期抛出如下异常:

org.apache.hadoop.hbase.exceptions.ConnectionClosingException: IPC Client (1890328395) connection to 主机名/IP:60020 from appops is closing 
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.checkIsOpen(RpcClientImpl.java:517) 
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.writeRequest(RpcClientImpl.java:925) 
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.tracedWriteRequest(RpcClientImpl.java:889) 
at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1222) 
at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:213) 
at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:287) 
at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.multi(ClientProtos.java:32699) 
at org.apache.hadoop.hbase.client.MultiServerCallable.call(MultiServerCallable.java:129) 
at org.apache.hadoop.hbase.client.MultiServerCallable.call(MultiServerCallable.java:54) 
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries$SentryProxy1(RpcRetryingCaller.java:200) 
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java) 
at org.apache.hadoop.hbase.client.AsyncProcess$AsyncRequestFutureImpl$SingleServerRequestRunnable.run(AsyncProcess.java:708) 
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:745)

重启客户端后可解决,但原因不清楚。

服务端版本是1.2.6,客户端版本是1.1.2。怀疑可能是两端版本不一致,求大神解惑!

展开
收起
pandacats 2019-12-20 21:30:08 2304 0
1 条回答
写回答
取消 提交回答
  • 基本确认是1.1.2版本客户端bug(HBASE-14313),在regionserver异常挂掉时出现。

    解决方法:客户端升级到1.2.6

    2019-12-20 21:30:23
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
大数据时代的存储 ——HBase的实践与探索 立即下载
Hbase在滴滴出行的应用场景和最佳实践 立即下载
阿里云HBase主备双活 立即下载