Perform Rolling Upgrade for HiveServer2

After setting the required configuration parameters, perform the rolling upgrade for
HiveServer2.

Without altering the old version of HiveServer2, bring up instances of the new version of HiveServer2. Make sure they start up successfully.

To de-register instances of the old version of HiveServer2, enter hive
service hiveserver2 deregister

Do not shut down the older 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 older version of HiveServer2 will become inactive.