eclipse连接hbase连接超时。RetriesExhaustedException-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文
阿里云
为了无法计算的价值
打开APP
阿里云APP内打开

eclipse连接hbase连接超时。RetriesExhaustedException

2018-11-08 11:32:45 4951 1

请问我在mac的本地连接虚拟机的hbase,出现连接超时。请问是什么问题?
HBase1.3.2(第一台虚拟机)
zookeeper3.4.12(第一台虚拟机)
Hadoop2.5.0(第二台虚拟机)
错误日志信息:
18/09/25 06:40:25 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=hbase01.com:2181 sessionTimeout=90000 watcher=org.apache.hadoop.hbase.zookeeper.PendingWatcher@3e77a1ed
18/09/25 06:40:25 INFO zookeeper.ClientCnxn: Opening socket connection to server 192.168.1.9/192.168.1.9:2181. Will not attempt to authenticate using SASL (unknown error)
18/09/25 06:40:25 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.1.9/192.168.1.9:2181, initiating session
18/09/25 06:40:25 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.1.9/192.168.1.9:2181, sessionid = 0x100070689670000, negotiated timeout = 40000
18/09/25 06:41:04 INFO client.RpcRetryingCaller: Call exception, tries=10, retries=35, started=38617 ms ago, cancelled=false, msg=Connection refused row 'test1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=localhost,16020,1530482469684, seqNum=0
18/09/25 06:41:14 INFO client.RpcRetryingCaller: Call exception, tries=11, retries=35, started=48704 ms ago, cancelled=false, msg=Connection refused row 'test1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=localhost,16020,1530482469684, seqNum=0
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=36, exceptions:
Tue Sep 25 06:41:14 CST 2018, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68737: Connection refused row 'test1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=localhost,16020,1530482469684, seqNum=0
at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.throwEnrichedException(RpcRetryingCallerWithReadReplicas.java:276)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:210)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:60)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:212)
at org.apache.hadoop.hbase.client.ClientScanner.call(ClientScanner.java:314)
at org.apache.hadoop.hbase.client.ClientScanner.nextScanner(ClientScanner.java:289)
at org.apache.hadoop.hbase.client.ClientScanner.initializeScannerInConstruction(ClientScanner.java:164)
at org.apache.hadoop.hbase.client.ClientScanner.(ClientScanner.java:159)
at org.apache.hadoop.hbase.client.HTable.getScanner(HTable.java:796)
at org.apache.hadoop.hbase.MetaTableAccessor.fullScan(MetaTableAccessor.java:602)
at org.apache.hadoop.hbase.MetaTableAccessor.tableExists(MetaTableAccessor.java:366)
at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:408)
at com.baohp.ImageServer.TestHbaseApi.testCreateTable(TestHbaseApi.java:44)
at com.baohp.ImageServer.TestHbaseApi.main(TestHbaseApi.java:20)
Caused by: java.net.SocketTimeoutException: callTimeout=60000, callDuration=68737: Connection refused row 'test1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=localhost,16020,1530482469684, seqNum=0
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:171)
at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:65)
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: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:493)
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.setupConnection(RpcClientImpl.java:418)
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.setupIOstreams(RpcClientImpl.java:724)
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.writeRequest(RpcClientImpl.java:911)
at org.apache.hadoop.hbase.ipc.RpcClientImpl$Connection.tracedWriteRequest(RpcClientImpl.java:875)
at org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1249)
at org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:227)
at org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:336)
at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:35518)
at org.apache.hadoop.hbase.client.ScannerCallable.openScanner(ScannerCallable.java:404)
at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:211)
at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:65)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:212)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:364)
at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:338)
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:137)
... 4 more

取消 提交回答
全部回答(1)
  • hbase小能手
    2019-07-17 23:12:56

    Tue Sep 25 06:41:14 CST 2018, null, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68737: Connection refused row 'test1,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=localhost,16020,1530482469684, seqNum=0

    mac本机连接的主机名是localhost,这块应该是hbase的主机名才对

    0 0
相关问答

2

回答

在用Eclipse开发项目时,查找JAVA类,遇到报错:非法参数异常,请问是什么问题啊?

2021-10-25 23:44:36 722浏览量 回答数 2

1

回答

Eclipse :使用Java config 配置的spring mvc 项目进入不了控 报错

2020-05-25 15:11:42 772浏览量 回答数 1

1

回答

eclipse RCP 导出的时候报错

2016-05-31 09:11:36 2213浏览量 回答数 1

1

回答

eclipse 启动 tomcat 异常报错

2016-05-31 10:04:54 1914浏览量 回答数 1

0

回答

我eclipse使用的阿里的tomcat插件Tomcat4E,然后配置的是阿里专用的taobao-tomcat-7.0.59,但是右键项目使用AliTomcat Webapp启动却报错

2016-03-30 10:22:50 5441浏览量 回答数 0

1

回答

android studio中的xml文件报错,eclipse正常不报错

2016-03-25 11:01:08 2521浏览量 回答数 1

1

回答

关于 eclipse报错,一直解决不了

2016-03-23 13:34:04 2004浏览量 回答数 1

1

回答

eclipse和myeclipse编译环境下,java泛型一个不报错一个报错

2016-03-23 14:31:41 2939浏览量 回答数 1

1

回答

关于eclipse新建android项目就会报错 的问题

2016-03-18 11:19:26 1509浏览量 回答数 1

1

回答

ofbiz首次导入eclipse文件报错

2016-02-18 14:20:40 2073浏览量 回答数 1
+关注
hbase小能手
HBase是一个分布式的、面向列的开源数据库,一个结构化数据的分布式存储系统。HBase不同于一般的关系数据库,它是一个适合于非结构化数据存储的数据库。阿里云HBase技术团队共同探讨HBase及其生态的问题。
文章
问答
问答排行榜
最热
最新
相关电子书
更多
低代码开发师(初级)实战教程
立即下载
阿里巴巴DevOps 最佳实践手册
立即下载
冬季实战营第三期:MySQL数据库进阶实战
立即下载