[
https://issues.apache.org/jira/browse/IMPALA-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Armstrong updated IMPALA-1653:
----------------------------------
Issue Type: New Feature (was: Bug)
> 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
> Priority: Minor
> Labels: ramp-up
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]