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 in Big Data Hadoop by akhtar
• 11,270 points
96 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 by MD
• 24,500 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,060 points
1,657 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
• 10,920 points
5,116 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,920 points
732 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
30,401 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 in Big Data Hadoop by MD
• 24,500 points
55 views