Cant connec to zookeeper: KeeperErrorCode = ConnectionLoss for HBase

0 votes

Hi. I have created some tables in HBase shell. Now, I want to see the table names in HBase shell. But when I try to do that, I am getting the following error:

How to solve this?

Dec 28, 2018 in Big Data Hadoop by slayer
• 29,050 points
570 views
Your 2nd image is not clear. Can you post a clear image or post the error text?

Sorry for a poor quality image. The error says:

ERROR [main] client>HConnectionManager#HConnectionImplementation: Can't get connection to zookeeper: KeeperErrorCode: ConnectionLoss for /hbase

1 answer to this question.

+1 vote

Mostly HMaster is not running. Enter the sudo jps command in your Terminal and check if HMaster is running or not.

If HMaster is not running, run the following command to start it:

sudo su
cd /usr/lib/hbase-0.96.2-hadoop2
bin/start-hbase.sh

Next, to list the tables, first open hbase shell and then list the tables. Use the following commands:

hbase shell 
list

answered Dec 28, 2018 by Omkar
• 67,460 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to set Zookeeper server for Accumulo in sqoop?

Hi. To mention the Zookeeper server in ...READ MORE

answered May 16 in Big Data Hadoop by Kumar
29 views
0 votes
1 answer

Configurations to enable impersonation for Hbase thrift servers

The default configuration suggested in the official ...READ MORE

answered May 27 in Big Data Hadoop by Khan
34 views
0 votes
1 answer

How to configure ulimit for Hbase using command line?

Hi, Increasing the file handles for the user ...READ MORE

answered May 29 in Big Data Hadoop by Gitika
• 25,340 points
28 views
0 votes
1 answer
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,670 points
2,699 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,670 points
284 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
13,427 views
0 votes
1 answer

Is it possible to start a zookeeper server instance in process?

To start ZooKeeper you have to execute ZooKeeperServerMain class. You can use ...READ MORE

answered Oct 9, 2018 in Big Data Hadoop by Omkar
• 67,460 points
37 views
0 votes
1 answer

Hbase: Client not able to connect with remote Hbase server

You have to remove the localhost entry from hbase server's ...READ MORE

answered Nov 8, 2018 in Big Data Hadoop by Omkar
• 67,460 points
575 views