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-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to