Configure and Start Apache HBase
Note | |
---|---|
The |
Start the ZooKeeper Server and NameNode services.
As the HBase user, run an upgrade:
su - hbase -c "hbase upgrade -execute"
You should see a completed Znode upgrade with no errors.
Replace your configuration after upgrading. Replace the HBase template configuration in
/etc/hbase/conf
.Start services. Run as root and suppose $HBASE_USER = hbase:
su - hbase -c "/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start master; sleep 25"
su - hbase -c "/usr/hdp/current/hbase-regionserver/bin/hbase-daemon.sh start regionserver"
Check processes.
ps -ef | grep -i hmaster
ps -ef | grep -i hregion