Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-15-2016 09:52 PM
I have code I have been using for a while and has worked.
But today my Java code calling Phoenix, ran into this:
: Initiating client connection, connectString=tspann:2181 sessionTimeout=90000 watcher=hconnection-0x4550bb580x0, quorum=tspann:2181, baseZNode=/hbase-unsecure 2016-12-15 16:49:44.898 INFO 11624 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server 24221/242.21:2181. Will not attempt to authenticate using SASL (unknown error)
Created 12-15-2016 10:49 PM
Strange error, but fixed due to disconnected network.
So connection timeout error.
Created 12-15-2016 09:54 PM
That is not a real error. ZK is just saying that it won't do SASL when connecting to the server (because this is not a secure cluster). You can ignore it.
Created 12-15-2016 10:06 PM
This is just an information message during the connection. If your application doesn't work, check that zookeeper as well as HBase are started.
Created 12-15-2016 10:49 PM
Strange error, but fixed due to disconnected network.
So connection timeout error.
Created 12-15-2016 11:20 PM
:51:02.642 WARN 11624 --- [ main] o.a.h.h.zookeeper.RecoverableZooKeeper : Possibly transient ZooKeeper, quorum=tspann:2181, exception=org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase-unsecure/hbaseid 2016-12-15 16:51:03.644 INFO 11624 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn : Opening socket connection to server 92.242.140.21/92.242.140.21:2181. Will not attempt to authenticate using SASL (unknown error) 2016-12-15 16:52:19.044 WARN 11624 --- [42.140.21:2181)] org.apache.zookeeper.ClientCnxn : Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Operation timed out at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_91] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_91] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[zookeeper-3.4.6.jar!/:3.4.6-1569965] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[zookeeper-3.4.6.jar!/:3.4.6-1569965]