Configuring Fault Tolerance
Also available as:
loading table of contents...

Perform Rollback of HiveServer2

Based on your requirements, you can roll back HiveServer2 upgrades.

  1. Bring up instances of the older version of HiveServer2. Make sure they start up successfully.
  2. To explicitly de-register the instances of the newer version of HiveServer2, enter: hive service hiveserver2 deregister
  3. Do not shut down the newer instances of HiveServer2, as they might have active client sessions. When sessions complete and the last client connection is closed, the server instances shut down on their own. Eventually all instances of the newer version of HiveServer2 will become inactive.