hbase 2.2.5 shell扫描表出现问题

qnzebej0  于 2021-05-31  发布在  Hadoop
关注(0)|答案(1)|浏览(546)

hbase外壳扫描表出现以下错误

org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=8, exceptions:
2020-07-17T16:46:06.573Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, java.net.ConnectException: Call to bob-Lenovo/127.0.1.1:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: bob-Lenovo/127.0.1.1:16020
2020-07-17T16:46:06.679Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to bob-Lenovo/127.0.1.1:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: bob-Lenovo/127.0.1.1:16020
2020-07-17T16:46:06.881Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to bob-Lenovo/127.0.1.1:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: bob-Lenovo/127.0.1.1:16020
2020-07-17T16:46:07.188Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to bob-Lenovo/127.0.1.1:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: bob-Lenovo/127.0.1.1:16020
2020-07-17T16:46:07.695Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, org.apache.hadoop.hbase.ipc.FailedServerException: Call to bob-Lenovo/127.0.1.1:16020 failed on local exception: org.apache.hadoop.hbase.ipc.FailedServerException: This server is in the failed servers list: bob-Lenovo/127.0.1.1:16020
2020-07-17T16:46:08.714Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, java.net.ConnectException: Call to bob-Lenovo/127.0.1.1:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: bob-Lenovo/127.0.1.1:16020
2020-07-17T16:46:10.726Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, java.net.ConnectException: Call to bob-Lenovo/127.0.1.1:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: bob-Lenovo/127.0.1.1:16020
2020-07-17T16:46:14.748Z, RpcRetryingCaller{globalStartTime=1595004366529, pause=100, maxAttempts=8}, java.net.ConnectException: Call to bob-Lenovo/127.0.1.1:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: bob-Lenovo/127.0.1.1:16020

    at org.apache.hadoop.hbase.client.RpcRetryingCallerImpl.callWithRetries(RpcRetryingCallerImpl.java:145)
    at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:80)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Call to bob-Lenovo/127.0.1.1:16020 failed on connection exception: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: bob-Lenovo/127.0.1.1:16020
    at org.apache.hadoop.hbase.ipc.IPCUtil.wrapException(IPCUtil.java:177)
    at org.apache.hadoop.hbase.ipc.AbstractRpcClient.onCallFinished(AbstractRpcClient.java:392)
    at org.apache.hadoop.hbase.ipc.AbstractRpcClient.access$100(AbstractRpcClient.java:97)
    at org.apache.hadoop.hbase.ipc.AbstractRpcClient$3.run(AbstractRpcClient.java:423)
    at org.apache.hadoop.hbase.ipc.AbstractRpcClient$3.run(AbstractRpcClient.java:419)
    at org.apache.hadoop.hbase.ipc.Call.callComplete(Call.java:117)
    at org.apache.hadoop.hbase.ipc.Call.setException(Call.java:132)
    at org.apache.hadoop.hbase.ipc.BufferCallBeforeInitHandler.userEventTriggered(BufferCallBeforeInitHandler.java:92)
    at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:326)
    at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:312)
    at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:304)
    at org.apache.hbase.thirdparty.io.netty.channel.DefaultChannelPipeline$HeadContext.userEventTriggered(DefaultChannelPipeline.java:1426)
    at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:326)
    at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:312)
    at org.apache.hbase.thirdparty.io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:924)
    at org.apache.hadoop.hbase.ipc.NettyRpcConnection.failInit(NettyRpcConnection.java:179)
    at org.apache.hadoop.hbase.ipc.NettyRpcConnection.access$500(NettyRpcConnection.java:71)
    at org.apache.hadoop.hbase.ipc.NettyRpcConnection$3.operationComplete(NettyRpcConnection.java:267)
    at org.apache.hadoop.hbase.ipc.NettyRpcConnection$3.operationComplete(NettyRpcConnection.java:261)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:502)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:495)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:474)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:415)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:540)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:533)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:114)
    at org.apache.hbase.thirdparty.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:327)
    at org.apache.hbase.thirdparty.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:343)
    at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:665)
    at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612)
    at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529)
    at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
    at org.apache.hbase.thirdparty.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    ... 1 more
Caused by: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: bob-Lenovo/127.0.1.1:16020
    at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
    at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:714)
    at org.apache.hbase.thirdparty.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
    at org.apache.hbase.thirdparty.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
    ... 7 more
Caused by: java.net.ConnectException: Connection refused
    ... 11 more

这次崩溃是在我尝试将hbase与phoenix(5.0)连接后发生的第二次。如果我删除hbase目录和zookeeper数据目录,然后重新生成所有数据,那么它工作正常,会出现什么问题,以及如何在不删除数据的情况下解决它?

xnifntxz

xnifntxz1#

这里的问题是hbase的安装,它是在一个独立的环境中运行的,并在自己的上下文中私下启动zookeeper。要正确运行phoenix,hbase应该以分布式模式安装,zookeeper应该单独启动。

相关问题