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
362 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.

0 votes

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,120 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
20 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
18 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
• 19,720 points
20 views
0 votes
1 answer

How to build Zookeeper repository for Hue?

Open the terminal and run the following ...READ MORE

answered May 30 in Big Data Hadoop by Liam
10 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,070 points
2,039 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,070 points
192 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
10,398 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,120 points
33 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,120 points
383 views