ERROR main client HConnectionManager HConnectionImplementation Can t get connection to ZooKeeper KeeperErrorCode ConnectionLoss for hbase ERROR KeeperErrorCode ConnectionLoss for hbase

0 votes

Hi Guys,

I am trying to Hbase Shell. But it throws me the below error.

ERROR [main] client.HConnectionManager$HConnectionImplementation: Can't get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase
ERROR: KeeperErrorCode = ConnectionLoss for /hbase

How can I solve this error?

Apr 30, 2020 in Big Data Hadoop by akhtar
• 38,230 points
2,311 views

1 answer to this question.

0 votes

Hi@akhtar,

Before starting Hbase Shell, make sure you set JAVA_HOME and Properties properly. You have to set the below given property in  hbase-site.xml file.

<configuration>
  <property>
    <name>hbase.tmp.dir</name>
    <value>tmp</value>
  </property>
</configuration>

Also set JAVA_HOME in conf/hbase-env.sh file.

export JAVA_HOME=/usr/jdk64/jdk1.8.18

Hope this will help you.

answered Apr 30, 2020 by MD
• 95,440 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Cant connec to zookeeper: KeeperErrorCode = ConnectionLoss for HBase

Mostly HMaster is not running. Enter the ...READ MORE

answered Dec 28, 2018 in Big Data Hadoop by Omkar
• 69,210 points
6,191 views
+1 vote
1 answer
0 votes
1 answer
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
10,556 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,184 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
104,204 views
0 votes
1 answer

ERROR [main] client.ConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper.

Hi@akhtar, When you try to start hbase server, ...READ MORE

answered Mar 30, 2020 in Big Data Hadoop by MD
• 95,440 points
955 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