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,370 points
6,783 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
• 69,220 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 17, 2019 in Big Data Hadoop by Kumar
875 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, 2019 in Big Data Hadoop by Khan
1,084 views
0 votes
1 answer
+1 vote
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
• 11,380 points
11,008 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
• 11,380 points
2,521 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
108,705 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
• 69,220 points
725 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
• 69,220 points
5,443 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP