You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Jason Dere (JIRA)" <ji...@apache.org> on 2017/09/05 21:30:00 UTC

[jira] [Created] (HIVE-17455) External LLAP client: connection to HS2 should be kept open until explicitly closed

Jason Dere created HIVE-17455:
---------------------------------

             Summary: External LLAP client: connection to HS2 should be kept open until explicitly closed
                 Key: HIVE-17455
                 URL: https://issues.apache.org/jira/browse/HIVE-17455
             Project: Hive
          Issue Type: Sub-task
          Components: llap
            Reporter: Jason Dere
            Assignee: Jason Dere


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)