Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9968

Reuse hs2-http connections in impala-shell

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Impala 4.0
    • Fix Version/s: None
    • Component/s: Clients
    • Labels:
      None
    • Epic Color:
      ghx-label-6

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                twmarshall Thomas Tauber-Marshall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: