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

Prasanth Jayachandran commented on HIVE-18994:
----------------------------------------------

This depends onĀ HIVE-18982 for the tests. Won't be able to submit untilĀ 
HIVE-18982 is committed. It is up for review though.

cc/ [~sershe]

> Handle client connections on failover
> -------------------------------------
>
>                 Key: HIVE-18994
>                 URL: https://issues.apache.org/jira/browse/HIVE-18994
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HiveServer2
>    Affects Versions: 3.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>         Attachments: HIVE-18994.1.patch
>
>
> When leader failover happens (either automatically or manually), tez sessions 
> are closed. But client connections are not. We need to close the client 
> connections explicitly so that workload manager revokes all the guaranteed 
> slots and upon reconnection client will connect to active HS2 instance (this 
> is to avoid clients reusing the same connection and submitting queries to 
> passive HS2). In future, some timeout or other policies (may be WM will run 
> everything speculatively) can be added.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to