zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect 07-Apr-2011 23:03:08 DAO.AbstractDAO connect SEVERE: null org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase

Google Groups | Shuja Rehman | 6 years ago
  1. 0

    org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase

    Google Groups | 6 years ago | Shuja Rehman
    zookeeper.ClientCnxn: Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect 07-Apr-2011 23:03:08 DAO.AbstractDAO connect SEVERE: null org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase
  2. 0

    Unable to submit remote MR jobs on CDH4.7.0 quickstart VM

    Stack Overflow | 2 years ago | Davidann
    zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.ConnectException: Connection refused
  3. 0

    Cannot connect to local hbase database

    Google Groups | 4 years ago | Paul van Hoven
    zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Hive Table is not loaded in Kylin//RE: About building kylin

    apache.org | 1 year ago
    zookeeper.ClientCnxn: Opening socket connection to server > > localhost/ 127.0.0.1:2181<http://127.0.0.1:2181>. Will not attempt to > authenticate using SASL > > (unknown error) 2015-02-13 22:27:51,920 WARN [localhost-startStop-1] zookeeper. > > > > > RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=localhost:2181, > > > > > exception=org.apache. zookeeper.KeeperException$ConnectionLossException: > > KeeperErrorCode = ConnectionLoss for /hbase/hbaseid 2015-02-13 22:27:51,921 ERROR [localhost-startStop-1] zookeeper. > > > > > RecoverableZooKeeper: ZooKeeper exists failed after 4 attempts 2015-02-13 22:27:51,921 WARN [localhost-startStop-1] > > > zookeeper.ZKUtil: hconnection-0x2b5a652e, quorum=localhost:2181, baseZNode=/hbase > > > Unable > > > > to set watcher on znode (/hbase/hbaseid) org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase/hbaseid at org.apache.zookeeper.KeeperException.create( > > > > KeeperException.java:99) at org.apache.zookeeper.KeeperException.create( > > > > KeeperException.java:51)
  6. 0

    Catching ZK ConnectionLoss with HTable

    Google Groups | 6 years ago | Sandy Pratt
    zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect It then goes on to retry endlessly. Killing the spinning job and running it again worked fine, so crashing would be preferable to me over retrying endlessly. I'm not especially concerned about what went wrong to cause ConnectionLoss in the first place, but I am interested in being able to set some behavior for handling the ZK exceptions elegantly. For example, the call site in my code leading to the exception is this: Get get = new Get(Bytes.toBytes(level.rowKeyDateFormat.format(dts))); Result result = timestampsTable.get(get); I suppose this means that if I want to catch ConnectionLoss in my code, I have to wrap all my gets and puts with that catch block. Or maybe just the first one? It seems like HTable and friends might be able to catch this exception in a more central location, maybe somewhere in here:

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. zookeeper.ClientCnxn

      Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect 07-Apr-2011 23:03:08 DAO.AbstractDAO connect SEVERE: null org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase

      at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher()
    2. HBase - Client
      HTable.<init>
      1. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:988)
      2. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:301)
      3. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:292)
      4. org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:155)
      5. org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:167)
      6. org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:145)
      6 frames
    3. DAO
      TimeWindowDAO.getTimeWindowReport
      1. DAO.AbstractDAO.connect(AbstractDAO.java:31)
      2. DAO.TimeWindowDAO.getTimeWindowReport(TimeWindowDAO.java:132)
      2 frames