Upgrading HBase

This section describes how to upgrade HBase without the Installer.

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 cluster upgrade first. To see which versions of HBase are supported in each release, see the HBase Release Notes and Interoperability Matrices. If you also plan to upgrade the core release as part of upgrading your HBase cluster, upgrade core first (see Upgrading Data Fabric Software). After successfully upgrading core, 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. For usage details, refer to the Apache HBase Reference Guide.
    hbase hbck
  • Review the 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.

To upgrade, complete the upgrade steps for the version of HBase to which you want to upgrade.