Upgrading HBase

Upgrading an established deployment of HBase requires planning and consideration before beginning the upgrade process. Below are items to consider as you plan to upgrade:

  • Check for version interoperability and perform any required MapR cluster upgrade first. To see which versions of HBase are supported in each MapR release, see the HBase Release Notes and Interoperability Matrix. If you also plan to upgrade the MapR as part of upgrading your HBase cluster, upgrade MapR first. After successfully upgrading the MapR, upgrade the HBase component.

  • Perform health checks. Perform health checks and address any concerns before upgrading HBase. As a start, run hbck to check for any inconsistencies in HBase data. Refer to hbck in Depth in the Apache HBase Reference Guide for usage details.

    hbase hbck
  • Review cluster service layout. While planning to upgrade, it is a good time to review your cluster service layout and determine if the right services are running on the right set of nodes. For example, as your cluster grows, you will tend to isolate cluster-management services from compute services on separate nodes. Review Planning the Cluster and Installing HBase for details on planning the service layout.
  • Consider migration of data, maintenance of HBase services, and any version-specific considerations that apply to you. For details, refer to the Apache HBase Reference Guide.
  • Perform a test upgrade. Because the upgrade process takes HBase services offline and requires careful planning, perform a test upgrade on a development cluster to make sure you understand the process. After you have experienced success on a dev cluster, proceed with your production cluster.
NOTE: If you installed HBase with the MapR Installer, use the latest version of the MapR Installer to perform the upgrade.

To upgrade, complete the upgrade steps for the version of HBase that you want to upgrade to: