Hi, all I am doing unit testing with HBaseTestingUtility. I want to get the table by HTablePool. But it continually reports error as follows:
2014-08-07 15:14:07,231 INFO [main-ScalaTest-running-HbaseQueryTest-SendTh read(localhost:2181)] zookeeper.ClientCnxn (ClientCnxn.java:logStartConnect (975)) - Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) 2 2014-08-07 15:14:07,232 WARN [main-ScalaTest-running-HbaseQueryTest-SendTh read(localhost:2181)] zookeeper.ClientCnxn (ClientCnxn.java:run(1102)) - Se ssion 0x0 for server null, unexpected error, closing socket connection and attempting reconnect 3 java.net.ConnectException: 拒绝连接 4 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) 5 at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.jav a:739) 6 at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnS ocketNIO.java:361) 7 at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1 081) Can anyon help me to solve it. Thanks, Kevin.
