部分客户端不定期抛出如下异常:
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。怀疑可能是两端版本不一致,求大神解惑!
基本确认是1.1.2版本客户端bug(HBASE-14313),在regionserver异常挂掉时出现。
解决方法:客户端升级到1.2.6
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。