hbase 2.2.5 shell扫描表出现问题

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

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

  1. org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=8, exceptions:
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. at org.apache.hadoop.hbase.client.RpcRetryingCallerImpl.callWithRetries(RpcRetryingCallerImpl.java:145)
  11. at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:80)
  12. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  13. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  14. at java.lang.Thread.run(Thread.java:748)
  15. 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
  16. at org.apache.hadoop.hbase.ipc.IPCUtil.wrapException(IPCUtil.java:177)
  17. at org.apache.hadoop.hbase.ipc.AbstractRpcClient.onCallFinished(AbstractRpcClient.java:392)
  18. at org.apache.hadoop.hbase.ipc.AbstractRpcClient.access$100(AbstractRpcClient.java:97)
  19. at org.apache.hadoop.hbase.ipc.AbstractRpcClient$3.run(AbstractRpcClient.java:423)
  20. at org.apache.hadoop.hbase.ipc.AbstractRpcClient$3.run(AbstractRpcClient.java:419)
  21. at org.apache.hadoop.hbase.ipc.Call.callComplete(Call.java:117)
  22. at org.apache.hadoop.hbase.ipc.Call.setException(Call.java:132)
  23. at org.apache.hadoop.hbase.ipc.BufferCallBeforeInitHandler.userEventTriggered(BufferCallBeforeInitHandler.java:92)
  24. at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:326)
  25. at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:312)
  26. at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.fireUserEventTriggered(AbstractChannelHandlerContext.java:304)
  27. at org.apache.hbase.thirdparty.io.netty.channel.DefaultChannelPipeline$HeadContext.userEventTriggered(DefaultChannelPipeline.java:1426)
  28. at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:326)
  29. at org.apache.hbase.thirdparty.io.netty.channel.AbstractChannelHandlerContext.invokeUserEventTriggered(AbstractChannelHandlerContext.java:312)
  30. at org.apache.hbase.thirdparty.io.netty.channel.DefaultChannelPipeline.fireUserEventTriggered(DefaultChannelPipeline.java:924)
  31. at org.apache.hadoop.hbase.ipc.NettyRpcConnection.failInit(NettyRpcConnection.java:179)
  32. at org.apache.hadoop.hbase.ipc.NettyRpcConnection.access$500(NettyRpcConnection.java:71)
  33. at org.apache.hadoop.hbase.ipc.NettyRpcConnection$3.operationComplete(NettyRpcConnection.java:267)
  34. at org.apache.hadoop.hbase.ipc.NettyRpcConnection$3.operationComplete(NettyRpcConnection.java:261)
  35. at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:502)
  36. at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:495)
  37. at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:474)
  38. at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:415)
  39. at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:540)
  40. at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:533)
  41. at org.apache.hbase.thirdparty.io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:114)
  42. at org.apache.hbase.thirdparty.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:327)
  43. at org.apache.hbase.thirdparty.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:343)
  44. at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:665)
  45. at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:612)
  46. at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:529)
  47. at org.apache.hbase.thirdparty.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:491)
  48. at org.apache.hbase.thirdparty.io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
  49. at org.apache.hbase.thirdparty.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
  50. ... 1 more
  51. Caused by: org.apache.hbase.thirdparty.io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: bob-Lenovo/127.0.1.1:16020
  52. at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
  53. at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:714)
  54. at org.apache.hbase.thirdparty.io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:327)
  55. at org.apache.hbase.thirdparty.io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340)
  56. ... 7 more
  57. Caused by: java.net.ConnectException: Connection refused
  58. ... 11 more

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

xnifntxz

xnifntxz1#

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

相关问题