Hbase client ConnectionLoss for /hbase error
This is a Zookeeper(ZK) error. The HBase client tries to get the /hbase node from Zookeeper and fails.
You can get a ZK dump from the HBase master web interface. You should see all the connections to ZK and figure out if something is exhausting them.
Before diving into anything else you could try restarting your ZK cluster and see if it fixes your problem. (It's strange that you see that with a single client).
HBase has a setting to increase the number of connections to ZK. It's
hbase.zookeeper.property.maxClientCnxns
There were a few updates (see below) lately related to the default number of connections (there's a hbase-default.xml file that has all the default configurations).
You can override this in your hbase-site.xml file (under HBase conf dir) and raise it to 100 or more. But make sure you're not masking the real problem this way, you shouldn't see this problem with a single client.
We've had a similar situation, but it was happening during heavy operations from map-reduce jobs, after upgrading to HBase-0.90.
Here are a couple of issue related to your problem:
- https://issues.apache.org/jira/browse/HBASE-3773
- https://issues.apache.org/jira/browse/HBASE-3777
If you still can't figure it out send an email to the hbase-users list or join the #hbase channel on freenode and ask live questions.
ERROR: KeeperErrorCode comes when create table in hbase in Standalone HBase
you can miss the command of running the HBase master. you should run the Hbase master node using this code
[your Hbase path]/bin/start-hbase.sh
and then you cane see the dashboard of the master-status
on port 16010
like below.
http://localhost:16010/
read more on official documentation.
Related Topics
Why Does My Compare Method Throw Exception -- Comparison Method Violates Its General Contract!
Trivial: Get Confirmation of Email Sent in Android
How to Remove Only Trailing Spaces of a String in Java and Keep Leading Spaces
Theme.Appcompat.Light.Darkactionbar - No Resource Found
Android Webview Always Returns Null for JavaScript Getelementbyid on Loadurl
Java: Need Some Way to Shorten This Code
How to Create Button Dynamically in Android
How to Ask Permission to Access Gallery on Android M.
What Is the Use of Basecolumns in Android
Android Java.Net.Unknownhostexception: Host Is Unresolved (Strategy Question)
How to Make Burst Mode Available to Camera
Read Data from SQLite Where Column Name Contains Spaces
Android 6.0 (Marshmallow): How to Play Midi Notes