Perform Rollback of HiveServer2
Based on your requirements, you can roll back HiveServer2 upgrades.
- Bring up instances of the older version of HiveServer2. Make sure they start up successfully.
To explicitly de-register the instances of the newer version of HiveServer2, enter:
hive service hiveserver2 deregister
- 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.