[
https://issues.apache.org/jira/browse/HIVE-18994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16414708#comment-16414708
]
Prasanth Jayachandran commented on HIVE-18994:
----------------------------------------------
Fixes TestActivePassiveHA test failure. Other test failures look unrelated.
> 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, HIVE-18994.2.patch,
> HIVE-18994.3.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)