Hbase Daemons in Pseudo Distribution Mode


In Hbase cluster,

  • we can start hbase daemons with start-hbase.sh command or

  • But in pseudo distribution mode (hbase.cluster.distributed=false), only HMaster daemon will be triggered but not the HRegionServer daemon or HQuorumPeer daemon.

When we start the daemons with start-hbase.sh or individual hbase-daemon.sh commands for region server will not trigger daemon because of the below condition in start-hbase.sh script.

start-hbase-1

When we try to trigger the regionserver daemon through hbase-daemon.sh command we will receive error message as shown below.

regionserver

But HQuorumPeer daemon can be started separately with hbase-daemon.sh command as shown below.

zookeeper

  • To stop hbase daemons, we can use stop-hbase.sh command. In fully distributed mode, this command will stop all the daemons (HMaster, HRegionServer & HQuorumPeer) running in all machines (both master node and slave nodes) the cluster.
  • But in pseudo distributed mode, it will stop HMaster daemon only as it is the only daemon that can be started with start-hbase.sh command.

About Siva

Senior Hadoop developer with 4 years of experience in designing and architecture solutions for the Big Data domain and has been involved with several complex engagements. Technical strengths include Hadoop, YARN, Mapreduce, Hive, Sqoop, Flume, Pig, HBase, Phoenix, Oozie, Falcon, Kafka, Storm, Spark, MySQL and Java.

Leave a comment

Your email address will not be published. Required fields are marked *


Review Comments
default image

I have attended Siva’s Spark and Scala training. He is good in presentation skills and explaining technical concepts easily to everyone in the group. He is having excellent real time experience and provided enough use cases to understand each concepts. Duration of the course and time management is awesome. Happy that I found a right person on time to learn Spark. Thanks Siva!!!

Dharmeswaran ETL / Hadoop Developer Spark Nov 2016 September 21, 2017

.