Upgrading HDP Manually
Also available as:
PDF
loading table of contents...

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.0). This section assumes that you have already upgraded your components for HDP 2.4.0. 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.0.

[Note]Note

The su commands in this section use keywords to represent the Service user. For example, "hbase" is used to represent the HBase Service user. If you are using another name for your Service users, you will need to substitute your Service user name in each of the su commands.

  1. Start the ZooKeeper Server and NameNode services.

  2. As the HBase user, run an upgrade:

    su - hbase -c "hbase upgrade -execute"

    You should see a completed Znode upgrade with no errors.

  3. Replace your configuration after upgrading. Replace the HBase template configuration in /etc/hbase/conf.

  4. 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"

  5. Check processes.

    ps -ef | grep -i hmaster

    ps -ef | grep -i hregion