0
回答
客户端远程访问HBase问题
注册华为云得mate10,2.9折抢先购!>>>   

我是按照这种方式配置的http://www.docin.com/p-576064079.html


具体如下:::::::

15/03/14 11:23:43 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 11 of 14 failed; retrying after sleep of 64126

java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:392)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:438)
at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1146)
at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:993)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:87)
at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:141)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:813)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:129)
at hbasetest.Hbasemytest.main(Hbasemytest.java:62)
15/03/14 11:24:48 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 12 of 14 failed; retrying after sleep of 64585
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:392)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:438)
at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1146)
at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:993)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:87)
at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:141)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:813)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:129)
at hbasetest.Hbasemytest.main(Hbasemytest.java:62)
15/03/14 11:25:54 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 13 of 14 failed; no more retrying.
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:392)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:438)
at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1146)
at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:993)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:87)
at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:141)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:813)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:129)
at hbasetest.Hbasemytest.main(Hbasemytest.java:62)
15/03/14 11:25:54 INFO client.HConnectionManager$HConnectionImplementation: Closed zookeeper sessionid=0x14c1601d343009d
15/03/14 11:25:54 INFO zookeeper.ZooKeeper: Session: 0x14c1601d343009d closed
15/03/14 11:25:54 INFO zookeeper.ClientCnxn: EventThread shut down
15/03/14 11:26:58 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 1408@ytt
15/03/14 11:26:58 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=10.108.110.62:2181 sessionTimeout=180000 watcher=hconnection
15/03/14 11:26:58 INFO zookeeper.ClientCnxn: Opening socket connection to server centos/10.108.110.62:2181. Will not attempt to authenticate using SASL (unknown error)
15/03/14 11:26:58 INFO zookeeper.ClientCnxn: Socket connection established to centos/10.108.110.62:2181, initiating session
15/03/14 11:26:58 INFO zookeeper.ClientCnxn: Session establishment complete on server centos/10.108.110.62:2181, sessionid = 0x14c1601d34300b6, negotiated timeout = 180000
15/03/14 11:26:59 INFO client.HConnectionManager$HConnectionImplementation: getMaster attempt 0 of 14 failed; retrying after sleep of 1006
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:489)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:392)
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:438)
at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1146)
at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:993)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:87)
at com.sun.proxy.$Proxy5.getProtocolVersion(Unknown Source)
at org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:141)
at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getMaster(HConnectionManager.java:813)
at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:129)
at hbasetest.Hbasemytest.main(Hbasemytest.java:62)

举报
杨小样儿
发帖于3年前 0回/850阅

以下是问题补充:

  • @杨小样儿 :希望大牛们可以给我解惑~!万分感激~!!!! (3年前)
顶部