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,310 points
3,532 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,150 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, 2019 in Big Data Hadoop by Kumar
254 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
360 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
7,802 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
1,297 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
60,774 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,150 points
157 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,150 points
3,548 views