Pre-Upgrade Steps for HBase

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

About this task

Procedure

  1. Upgrade your HBase Java applications.
    Check your HBase applications for Java APIs that are no longer supported in HBase 1.1. See HBase Java API Support. Then, update the applications to use APIs supported by HBase 1.1 and recompile your applications with HBase 1.1.
  2. Take a snapshot of the HBase volume. This step is applicable if you are upgrading with the MapR Installer or upgrading manually.
    The snapshot creates a backup of the volume data that you can use to recover your data in the event that corruption occurs during the upgrade process. For more information, see Creating Volume Snapshots.
  3. Optional: Create a backup copy of any configuration files that contain customized values. This step is applicable if you are upgrading with the MapR Installer or upgrading manually.
    The configuration files are located in /opt/mapr/hbase/hbase-<version>/conf/. Copy any that you want to back up to another location. If you plan to upgrade with the MapR installer, copy files to a location that is outside the MapR installation directory. After upgrading, you can reapply changes to the updated HBase installation using the backup.