[
https://issues.apache.org/jira/browse/HIVE-17455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Dere updated HIVE-17455:
------------------------------
Attachment: HIVE-17455.3.patch
adding some comments
> 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
> Attachments: HIVE-17455.1.patch, HIVE-17455.2.patch,
> HIVE-17455.3.patch
>
>
> 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)