You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Abhijith Setty (Jira)" <ji...@apache.org> on 2020/08/06 20:33:00 UTC

[jira] [Commented] (HIVE-22193) Graceful Shutdown HiveServer2

    [ https://issues.apache.org/jira/browse/HIVE-22193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17172656#comment-17172656 ] 

Abhijith Setty commented on HIVE-22193:
---------------------------------------

We would love this feature too. We have 10s of HS2 deployed.

Some thing similar to YARN/HDFS decommission would do. Essentially if we can put the service in decommissioned mode and where if does not accept new queries external tooling can be built to do actions based on what the current state is. I'm picturing 4 states
 # Active - Ready to take queries
 # Decommissioning - Finishing up queries but not taking new ones
 # Decommissioned - Live but not queryable
 # Stopped

> Graceful Shutdown HiveServer2
> -----------------------------
>
>                 Key: HIVE-22193
>                 URL: https://issues.apache.org/jira/browse/HIVE-22193
>             Project: Hive
>          Issue Type: Improvement
>          Components: Server Infrastructure
>            Reporter: chenshiyun
>            Priority: Major
>
> We have a lot of HiveSever2 servers deployed on production environment (about 10 nodes). 
> However, if we want to change configuration or add patches, we would have to restart all of them one by one. So all the Hive Sql job running on the server will be defeated, and there may be some mistakes come up on the jdbc client occasionally.
> In the proposed changes,  planning to add Graceful Shutdown HiveSever2 method to avoid affecting the production environment jobs



--
This message was sent by Atlassian Jira
(v8.3.4#803005)