Prasanth Jayachandran created HIVE-18994:
--------------------------------------------
Summary: 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
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)