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.

Pentaho BI Platform Tracking | Chris Deptula | 5 years ago
  1. 0

    1. Open the HBase Output Step 2. Enter the HBase connection information using the Zookeeper host and port 3. Switch to the Create/Edit Mappings tab 4. Select a table from the drop down 5. Create a new mapping by typing a new name into the Mapping Name field 6. Configure the mapping 7. Click OK without saving the mapping. Do NOT click Save Mapping. 8. Reopen the HBase Output Step 9. Try to connect to HBase (Either try creating a mapping again, or click the Get Tables button) 10. You will get the following error and have to close and re-open Spoon to get the error to go away. If you save mapping or edit an existing mapping without saving you do not have this issue. It only occurs with new mappings. 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>(ZooKeeperWatcher.java:155) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:990) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:303) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:294) at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:156) at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:85) at org.pentaho.hbase.mapping.MappingAdmin.setConnection(MappingAdmin.java:109) at org.pentaho.hbase.mapping.MappingEditor.populateTableCombo(MappingEditor.java:469) at org.pentaho.hbase.mapping.MappingEditor.access$100(MappingEditor.java:88) at org.pentaho.hbase.mapping.MappingEditor$3.focusGained(MappingEditor.java:231) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.custom.CCombo.handleFocus(Unknown Source) at org.eclipse.swt.custom.CCombo.arrowEvent(Unknown Source) at org.eclipse.swt.custom.CCombo$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Control.sendFocusEvent(Unknown Source) at org.eclipse.swt.widgets.Control.gtk_event_after(Unknown Source) at org.eclipse.swt.widgets.Widget.windowProc(Unknown Source) at org.eclipse.swt.widgets.Control.windowProc(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Unknown Source) at org.eclipse.swt.widgets.Display.eventProc(Unknown Source) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog.open(HBaseOutputDialog.java:642) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7754) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6966) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase at org.apache.zookeeper.KeeperException.create(KeeperException.java:90) at org.apache.zookeeper.KeeperException.create(KeeperException.java:42) at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:809) at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:837) at org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent(ZKUtil.java:903) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:133) ... 51 more

    Pentaho BI Platform Tracking | 5 years ago | Chris Deptula
    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.
  2. 0

    1. Open the HBase Output Step 2. Enter the HBase connection information using the Zookeeper host and port 3. Switch to the Create/Edit Mappings tab 4. Select a table from the drop down 5. Create a new mapping by typing a new name into the Mapping Name field 6. Configure the mapping 7. Click OK without saving the mapping. Do NOT click Save Mapping. 8. Reopen the HBase Output Step 9. Try to connect to HBase (Either try creating a mapping again, or click the Get Tables button) 10. You will get the following error and have to close and re-open Spoon to get the error to go away. If you save mapping or edit an existing mapping without saving you do not have this issue. It only occurs with new mappings. 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>(ZooKeeperWatcher.java:155) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:990) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:303) at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:294) at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:156) at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:85) at org.pentaho.hbase.mapping.MappingAdmin.setConnection(MappingAdmin.java:109) at org.pentaho.hbase.mapping.MappingEditor.populateTableCombo(MappingEditor.java:469) at org.pentaho.hbase.mapping.MappingEditor.access$100(MappingEditor.java:88) at org.pentaho.hbase.mapping.MappingEditor$3.focusGained(MappingEditor.java:231) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source) at org.eclipse.swt.custom.CCombo.handleFocus(Unknown Source) at org.eclipse.swt.custom.CCombo.arrowEvent(Unknown Source) at org.eclipse.swt.custom.CCombo$1.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Control.sendFocusEvent(Unknown Source) at org.eclipse.swt.widgets.Control.gtk_event_after(Unknown Source) at org.eclipse.swt.widgets.Widget.windowProc(Unknown Source) at org.eclipse.swt.widgets.Control.windowProc(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Unknown Source) at org.eclipse.swt.widgets.Display.eventProc(Unknown Source) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog.open(HBaseOutputDialog.java:642) at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136) at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7754) at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756) at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6966) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /hbase at org.apache.zookeeper.KeeperException.create(KeeperException.java:90) at org.apache.zookeeper.KeeperException.create(KeeperException.java:42) at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:809) at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:837) at org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent(ZKUtil.java:903) at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:133) ... 51 more

    Pentaho BI Platform Tracking | 5 years ago | Chris Deptula
    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.
  3. 0

    总结Eclipse 远程连接 HBase问题及解决方案大全-Hbase-about云开发

    aboutyun.com | 1 year 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HBase newbie

    Google Groups | 4 years ago | kaveh minooie
    org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able to connect to ZooKeeper but the connection closes immediately. This could 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.
  6. 0

    hbase connection refused

    Stack Overflow | 5 years ago | khan
    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.

  1. nasimk 3 times, last 2 weeks ago
6 unregistered visitors
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. org.apache.zookeeper.KeeperException$ConnectionLossException

    KeeperErrorCode = ConnectionLoss for /hbase

    at org.apache.zookeeper.KeeperException.create()
  2. Zookeeper
    ZooKeeper.exists
    1. org.apache.zookeeper.KeeperException.create(KeeperException.java:90)
    2. org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
    3. org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:809)
    4. org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:837)
    4 frames
  3. HBase - Client
    HBaseAdmin.<init>
    1. org.apache.hadoop.hbase.zookeeper.ZKUtil.createAndFailSilent(ZKUtil.java:903)
    2. org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:133)
    3. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getZooKeeperWatcher(HConnectionManager.java:990)
    4. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.setupZookeeperTrackers(HConnectionManager.java:303)
    5. org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.<init>(HConnectionManager.java:294)
    6. org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:156)
    7. org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:85)
    7 frames
  4. org.pentaho.hbase
    MappingEditor$3.focusGained
    1. org.pentaho.hbase.mapping.MappingAdmin.setConnection(MappingAdmin.java:109)
    2. org.pentaho.hbase.mapping.MappingEditor.populateTableCombo(MappingEditor.java:469)
    3. org.pentaho.hbase.mapping.MappingEditor.access$100(MappingEditor.java:88)
    4. org.pentaho.hbase.mapping.MappingEditor$3.focusGained(MappingEditor.java:231)
    4 frames
  5. RWT
    Display.windowProc
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    4. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    5. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    6. org.eclipse.swt.widgets.Widget.notifyListeners(Unknown Source)
    7. org.eclipse.swt.custom.CCombo.handleFocus(Unknown Source)
    8. org.eclipse.swt.custom.CCombo.arrowEvent(Unknown Source)
    9. org.eclipse.swt.custom.CCombo$1.handleEvent(Unknown Source)
    10. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    11. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    12. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    13. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    14. org.eclipse.swt.widgets.Control.sendFocusEvent(Unknown Source)
    15. org.eclipse.swt.widgets.Control.gtk_event_after(Unknown Source)
    16. org.eclipse.swt.widgets.Widget.windowProc(Unknown Source)
    17. org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
    18. org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
    18 frames
  6. org.eclipse.swt
    OS.gtk_main_do_event
    1. org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
    2. org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Unknown Source)
    2 frames
  7. RWT
    Display.eventProc
    1. org.eclipse.swt.widgets.Display.eventProc(Unknown Source)
    1 frame
  8. org.eclipse.swt
    OS.g_main_context_iteration
    1. org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
    2. org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(Unknown Source)
    2 frames
  9. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    1 frame
  10. org.pentaho.di
    TransGraph.mouseDoubleClick
    1. org.pentaho.di.trans.steps.hbaseoutput.HBaseOutputDialog.open(HBaseOutputDialog.java:642)
    2. org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:136)
    3. org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:7754)
    4. org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2756)
    5. org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:705)
    5 frames
  11. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    5 frames
  12. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1183)
    2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6966)
    3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567)
    3 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  14. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    1 frame