Pre-Upgrade Steps for HBase

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

Note: You cannot use the MapR installer to upgrade from HBase 0.94.x to HBase 1.1. You must perform a manual installation. Most of the pre-upgrade steps are the same, however.
  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. If you are upgrading with the installer or manually: Take a snapshot of the hbase volume.
    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 a Snapshot.
  3. If you are upgrading with the installer or manually: Create a backup copy of any configuration files that contain customized values.
    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.