我要评分
获取效率
正确性
完整性
易理解

OmniHBaseGSI

Before upgrading the OmniHBaseGSI feature, stop the HBase cluster, replace the software packages of the current version with those of the new version, and then restart the HBase cluster. If the OmniHBaseGSI feature is no longer used, you can stop the HBase cluster, delete the software packages and those configuration items added during the installation, and restart the HBase cluster to complete the uninstallation.

Upgrading the Software

  1. Stop the HBase cluster.
    1
    /usr/local/hbase/bin/stop-hbase.sh
    
  2. Replace the software packages.

    By default, the software packages are stored in the /usr/local/hbase/lib directory. Delete all the existing JAR packages and place the new JAR packages in the /usr/local/hbase/lib directory.

  3. Optional: Modify the configuration file.

    Check the installation description of the new version. If the configuration file must be modified, modify it based on the installation description. Skip this step unless otherwise specified.

  4. Restart the HBase cluster.
    1
    /usr/local/hbase/bin/start-hbase.sh
    

Uninstalling the Software

  1. Optional: Delete the index table.

    If you do not want to retain the secondary index table, you are advised to delete all index tables before uninstalling the software.

  2. Stop the HBase cluster.
    1
    /usr/local/hbase/bin/stop-hbase.sh
    
  3. Delete the software packages.

    By default, the software packages are stored in the /usr/local/hbase/lib directory. Delete all the existing JAR packages.

  4. Modify the configuration file.

    Delete the configuration items added in 3.

  5. Restart the HBase cluster.
    1
    /usr/local/hbase/bin/start-hbase.sh