You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Thomas Tauber-Marshall (JIRA)" <ji...@apache.org> on 2019/05/30 17:41:00 UTC

[jira] [Resolved] (IMPALA-1653) Impala should not close a session when a HiveServer2 connection is closed

     [ https://issues.apache.org/jira/browse/IMPALA-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Tauber-Marshall resolved IMPALA-1653.
--------------------------------------------
       Resolution: Fixed
    Fix Version/s: Impala 3.3.0

> Impala should not close a session when a HiveServer2 connection is closed
> -------------------------------------------------------------------------
>
>                 Key: IMPALA-1653
>                 URL: https://issues.apache.org/jira/browse/IMPALA-1653
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Clients
>    Affects Versions: Impala 2.1
>            Reporter: Erick Tryzelaar
>            Assignee: Thomas Tauber-Marshall
>            Priority: Minor
>              Labels: ramp-up
>             Fix For: Impala 3.3.0
>
>
> Hue is currently [stateful|https://issues.cloudera.org/browse/HUE-2530] because in [IMPALA-564|https://issues.cloudera.org/browse/IMPALA-564], Impala will close the session if the connection is closed. Among other things, this prevents us from stateless load balancing because we need to route users to the same Hue backend that holds open the Impala socket.
> According to the [HiveServer2 design document|https://cwiki.apache.org/confluence/display/Hive/HiveServer2+Thrift+API], the HS2 protocol allows for the session to independent from the connection. Adding supporting this might not be too difficult. The connection is explicitly closed [here|https://github.com/cloudera/Impala/blob/master/be/src/service/impala-server.cc#L1696-L1702], and it's possible removing this block for HS2 connections might be sufficient to enable this feature.



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