org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able to connect to ZooKeeper but the connection closes immediately. This could be a sign that the server has too many connections (30 is the default). Consider inspecting your ZK server logs for that error and then make sure you are reusing HBaseConfiguration as often as you can. See HTable's javadoc for more information.*

nabble.com | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Users - HBase is able to connect to ZooKeeper but the connection closes immediately

    nabble.com | 9 months ago
    org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able to connect to ZooKeeper but the connection closes immediately. This could be a sign that the server has too many connections (30 is the default). Consider inspecting your ZK server logs for that error and then make sure you are reusing HBaseConfiguration as often as you can. See HTable's javadoc for more information.*

    Root Cause Analysis

    1. org.apache.hadoop.hbase.ZooKeeperConnectionException

      HBase is able to connect to ZooKeeper but the connection closes immediately. This could be a sign that the server has too many connections (30 is the default). Consider inspecting your ZK server logs for that error and then make sure you are reusing HBaseConfiguration as often as you can. See HTable's javadoc for more information.*

      at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>()
    2. HBase - Client
      HTableFactory.createHTableInterface
      1. org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:155)
      2. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:1002)
      3. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:304)
      4. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:295)
      5. org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:157)
      6. org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:169)
      7. org.apache.hadoop.hbase.client.HTableFactory.createHTableInterface(HTableFactory.java:36)
      7 frames