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,854 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
889 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,106 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,072 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,571 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
109,058 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
748 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,492 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