Created 09-23-2024 10:15 AM
Dear Cloudera Community,
I am currently testing HBase for bulk loading purposes, and for this, we use the pseudo-distributed mode (single-host standalone) as our configuration. After completing all the configurations, I executed the jps command, which displayed all the necessary processes for testing.
[super@dc1-apache-hbase bin]$ jps
1119857 Jps
1118448 NodeManager
1119235 HQuorumPeer
1117730 NameNode
1117863 DataNode
1119627 HRegionServer
1118125 SecondaryNameNode
1119405 HMaster
1118332 ResourceManager
Additionally, I did not use Zookeeper manually for the process; instead, I used export HBASE_MANAGES_ZK=true.
However, once I enter the HBase shell, the HMaster process disappears, and I encounter the following error message:
"ERROR: KeeperErrorCode = NoNode for /hbase/master"
[super@dc1-apache-hbase conf]$ jps
1122225 Jps
1118448 NodeManager
1121283 HQuorumPeer
1122019 JarBootstrapMain
1117730 NameNode
1117863 DataNode
1121675 HRegionServer
1118125 SecondaryNameNode
1118332 ResourceManager
I have attached all the configuration files and version details that I used for this setup. Could you please assist me in resolving this issue?
Hadoop Version: 3.3.6
Hbase Version: 2.5.10
Java Version:
openjdk version "1.8.0_422"
OpenJDK Runtime Environment (build 1.8.0_422-b05)
OpenJDK 64-Bit Server VM (build 25.422-b05, mixed mode)
hbase-site.xml:
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/super/zookeeper</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>localhost</value>
</property>
<property>
<name>hbase.rootdir</name>
<value>hdfs://localhost:8030/hbase</value>
</property>
<property>
<name>hbase.zookeeper.property.clientPort</name>
<value>2181</value>
</property>
hbase-env.sh
# The java implementation to use. Java 1.8+ required.
# export JAVA_HOME=/usr/java/jdk1.8.0/
export JAVA_HOME=/usr/local/java-1.8.0-openjdk-1.8.0.422.b05-2.el9.x86_64
# Extra Java CLASSPATH elements. Optional.
# export HBASE_CLASSPATH=
export HBASE_CLASSPATH=$HADOOP_CONF_DIR:$HBASE_CLASSPATH
Thank you for your support.
Created 09-24-2024 10:15 PM
Hi @Amandi
You have to add -
export HBASE_MANAGES_ZK=false if you want to manage your own zookeeper and run hbase in distributed mode.
If you do not run hbase in distributed mode, hbase will start its own zookeeper.
Error indicates that zookeeper do not have the znodes /hbase/master created in zookeeper
"ERROR: KeeperErrorCode = NoNode for /hbase/master"
Created 09-23-2024 04:04 PM
Hi @shubham_sharma @aquilodran @pajoshi Do you have some insights here? Thanks!
Regards,
Diana Torres,Created 09-24-2024 10:15 PM
Hi @Amandi
You have to add -
export HBASE_MANAGES_ZK=false if you want to manage your own zookeeper and run hbase in distributed mode.
If you do not run hbase in distributed mode, hbase will start its own zookeeper.
Error indicates that zookeeper do not have the znodes /hbase/master created in zookeeper
"ERROR: KeeperErrorCode = NoNode for /hbase/master"
Created 10-01-2024 12:24 PM
@Amandi Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.
Regards,
Diana Torres,