client做bulkload取meta表信息的时候,直接抛异常退出了

刘老师,问下,有没有碰到这类问题:2016-05-17 17:47:33,070 WARN  [RpcServer.reader=9,bindAddress=tjtx-103-23.58os.org,port=60020] ipc.RpcServer: Expected HEADER=HBas but received HEADER=\xFF\xF4\xFF\xFD from。client做bulkload取meta表信息的时候,直接抛异常退出了,异常显示org.apache.hadoop.hbase.exceptions.ConnectionClosingException  ,  regionserver那边只找到了2016-05-17 17:47:33,070 WARN  [RpcServer.reader=9,bindAddress=tjtx-103-23.58os.org,port=60020] ipc.RpcServer: Expected HEADER=HBas but received HEADER=\xFF\xF4\xFF\xFD from  这一条警告。客户端完整异常是:16/05/16 19:39:16 INFO mapreduce.HFileOutputFormat2 main: Looking up current regions for table test_csUserState
2016-05-16 19:39:16,796 - Exception in thread "main" org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=1, exceptions:
2016-05-16 19:39:16,796 - Mon May 16 19:39:16 CST 2016, RpcRetryingCaller{globalStartTime=1463398756623, pause=100, retries=1}, org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Call to tjtx-103-23.58os.org/10.126.103.23:60020 failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Connection to tjtx-103-23.58os.org/10.126.103.23:60020 is closing. Call id=0, waitTime=52
2016-05-16 19:39:16,797 - 
2016-05-16 19:39:16,797 -  at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:147)
2016-05-16 19:39:16,797 -  at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:64)
2016-05-16 19:39:16,797 -  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
2016-05-16 19:39:16,798 -  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
2016-05-16 19:39:16,798 -  at java.lang.Thread.run(Thread.java:724)
2016-05-16 19:39:16,798 - Caused by: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Call to tjtx-103-23.58os.org/10.126.103.23:60020 failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosingException: Connection to tjtx-103-23.58os.org/10.126.103.23:60020 is closing. Call id=0, waitTime=52
2016-05-16 19:39:16,798 -  at org.apache.hadoop.hbase.ipc.RpcClientImpl.wrapException(RpcClientImpl.java:1233)
2016-05-16 19:39:16,798 -  at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1204)
2016-05-16 19:39:16,798 -  at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:216)
2016-05-16 19:39:16,799 -  at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:300)
2016-05-16 19:39:16,799 -  at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:31889)
2016-05-16 19:39:16,799 -  at org.apache.hadoop.hbase.client.ScannerCallable.openScanner(ScannerCallable.java:349)
2016-05-16 19:39:16,799 -  at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:193)
2016-05-16 19:39:16,799 -  at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:62)
2016-05-16 19:39:16,800 -  at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
2016-05-16 19:39:16,800 -  at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:332)
2016-05-16 19:39:16,800 -  at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:306)
2016-05-16 19:39:16,800 -  at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:126)
2016-05-16 19:39:16,800 -  ... 4 more。访问meta表所在的regionserver的时候抛出来直接退出了。这个异常只是在任务调度的机器上抛出来的,换另一台机器没问题,而且在抛异常的机器上Telnetmeta表所在的regionserver的ip和端口也没问题。没了,client异常就只有那么多,regionserver那边只有刚发的那个警告,没有error。那个警告对了一下ip,确实是从异常的机器上发过来的请求,时间点也对的上

史晓江

赞同来自:

看rs端是客户端和服务端版本差的比较多。

要回复问题请先登录注册