You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Thomas Tauber-Marshall (Jira)" <ji...@apache.org> on 2020/07/17 15:35:00 UTC
[jira] [Created] (IMPALA-9968) Reuse hs2-http connections in
impala-shell
Thomas Tauber-Marshall created IMPALA-9968:
----------------------------------------------
Summary: Reuse hs2-http connections in impala-shell
Key: IMPALA-9968
URL: https://issues.apache.org/jira/browse/IMPALA-9968
Project: IMPALA
Issue Type: Task
Components: Clients
Affects Versions: Impala 4.0
Reporter: Thomas Tauber-Marshall
Currently, impala-shell creates a new connection for every request when running the hs2-http protocol. The reason for this is that we're using the default Thrift python HTTP client which is very basic and doesn't reuse connection for simplicity. It would be nice to reuse connections for performance reasons.
We've already imported the code for it into Impala to make other changes, so it should be easy to further modify it to support connection reuse.
See: https://github.com/apache/impala/blob/master/shell/ImpalaHttpClient.py#L160
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org