Hi Prakash, The error is reg connection loss with ZK. Where is Zookeeper running? Are you using standalone or pseudo distributed mode? Also, where is hbase.rootdir pointing to? Is it local FileSystem or HDFS? If local FileSystem, have you provided the path that exists on your system?
I haven't used cygwin, but if you could refer to HBase book https://hbase.apache.org/book.html for setting up local cluster with properties as mentioned, I am sure you would be able to make good progress. Please spend some time and you wouldn't regret it :) On 2020/03/01 06:31:50, PRAKASH GOPALSAMY <[email protected]> wrote: > Hi Team, > I am trying to run the hbase-2.2.3 in cygwint in windows. While running the > hbase shell, I am getting the below exception. Kindly help me to solve this > issue > > Mar 01, 2020 11:46:01 AM > org.apache.hadoop.hbase.zookeeper.ReadOnlyZKClient$ZKTask$1 exec > WARNING: 0x434c186b to localhost:2181 failed for get of /hbase/hbaseid, > code = CONNECTIONLOSS, retries = 14 > Mar 01, 2020 11:46:02 AM org.apache.zookeeper.ClientCnxn$SendThread > logStartConnect > INFO: Opening socket connection to server kubernetes.docker.internal/ > 127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error) > Mar 01, 2020 11:46:03 AM org.apache.zookeeper.ClientCnxn$SendThread run > WARNING: Session 0x0 for server null, unexpected error, closing socket > connection and attempting reconnect > java.net.ConnectException: Connection refused: no further information > at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) > at > sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) > at > org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) > at > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141) >
