hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <>
Subject [jira] [Commented] (HIVE-18994) Handle client connections on failover
Date Sat, 24 Mar 2018 02:05:00 GMT


Prasanth Jayachandran commented on HIVE-18994:

Rebased patch. Attaching RB. 

> Handle client connections on failover
> -------------------------------------
>                 Key: HIVE-18994
>                 URL:
>             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
> 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

View raw message