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

Support HTTP based HS2/beeswax endpoints on coordinators

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.3.0
    • Impala 3.3.0
    • Backend, Clients
    • None
    • ghx-label-1

    Description

      The ask is to support HTTP based endpoints for client <-> coordinator communication.
      Currently they are implemented as thrift over binary. With this, the coordinator can support client reconnects (incase of flaky clients) and also opens up the possibility to use smarter L7 load balancers instead of relying on L4 load balancers using IP hashing.

      Some notes (based on my research so far)

      • Thrift supports THttpTransport but cookie support is unclear
      • We need to rethink the server side session management a bit, since the current session handling is tied to the connection. If a connection is closed, server side session is wiped off. We need to decouple both to support reconnects.
      • Current query lifecycle is tied to the client since the coordinator expects the client to drain the current result set row batch before producing the next one. If reconnects are supported, coordinator needs to aggressively materialize result set so that the resources are not held for longer while waiting for the client to reconnect.

      Attachments

        Issue Links

          Activity

            People

              twmarshall Thomas Tauber-Marshall
              bharathv Bharath Vissapragada
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: