Configure and Start Apache HBase
Before you can upgrade Apache HBase, you must have first upgraded your HDP components to the latest version (in this case, 2.4.2). This section assumes that you have already upgraded your components for HDP 2.4.2. If you have not already completed these steps, return to Getting Ready to Upgrade and Upgrade 2.0 Components for instructions on how to upgrade your HDP components to 2.4.2.
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