Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12991 LLAP: Add interface to allow other applications to retrieve data
  3. HIVE-17455

External LLAP client: connection to HS2 should be kept open until explicitly closed

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: llap
    • Labels:
      None

      Description

      In the case that a complex query (aggregation/join) is passed to external LLAP client, the query result is first saved as a Hive temp table before being read by LLAP to client. Currently the HS2 connection used to fetch the LLAP splits is closed right after the splits are fetched, which means the temp table is gone by the time LLAP tries to read it.
      Try to keep the connection open so that the table is still around when LLAP tries to read it. Add close methods which can be used to close the connection when the client is done with the query.

        Attachments

        1. HIVE-17455.1.patch
          7 kB
          Jason Dere
        2. HIVE-17455.2.patch
          7 kB
          Jason Dere
        3. HIVE-17455.3.patch
          8 kB
          Jason Dere

          Activity

            People

            • Assignee:
              jdere Jason Dere
              Reporter:
              jdere Jason Dere
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: