Post-Upgrade Steps for HBase

Complete the following steps after you upgrade HBase with or without the MapR Installer.

  1. Start the upgraded HBase services. You can use either the maprcli or the MCS to start the services.
  2. Migrate Custom Configurations (optional).
    Migrate any custom configuration settings into the new default files in the conf directory (/opt/mapr/hbase/hbase-<version>/conf/).
  3. If the Hbase Thrift Server is installed, you will need to restart it.
    maprcli node services -name hbasethrift -action restart -nodes
          <ThriftServer_node_hostname>
  4. If HBase REST Server is installed, perform the following steps:
    1. Update the values of the following properties in /opt/mapr/conf/conf.d/warden.hbaserest.conf to reflect the new HBase version:
      • service.command.start
      • service.command.stop
      • service.command.monitorcommand
      • service.logs.location
        For example, if you upgraded to HBase 0.98.12, the values should be set as follows:
        service.command.start=/opt/mapr/hbase/hbase-0.98.12/bin/hbase-daemon.sh start rest -p 8080 --infoport 8085
        service.command.stop=/opt/mapr/hbase/hbase-0.98.12/bin/hbase-daemon.sh stop rest
        service.command.monitorcommand=/opt/mapr/hbase/hbase-0.98.12/bin/hbase-daemon.sh status rest
        service.logs.location=/opt/mapr/hbase/hbase-0.98.12/logs
    2. Restart the HBase REST Server:
      maprcli node services -name hbaserest -action restart -nodes
          <node_hostname>