[
https://issues.apache.org/jira/browse/HIVE-14397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanth Jayachandran updated HIVE-14397:
-----------------------------------------
Attachment: HIVE-14397.2.patch
Uploaded correct patch
> Queries ran after reopening of tez session launches additional sessions
> -----------------------------------------------------------------------
>
> Key: HIVE-14397
> URL: https://issues.apache.org/jira/browse/HIVE-14397
> Project: Hive
> Issue Type: Bug
> Components: Tez
> Affects Versions: 2.1.0, 2.2.0
> Reporter: Takahiko Saito
> Assignee: Prasanth Jayachandran
> Priority: Critical
> Attachments: HIVE-14397.1.patch, HIVE-14397.2.patch
>
>
> Say we have configured hive.server2.tez.default.queues with 2 queues q1 and
> q2 with default expiry interval of 5 mins.
> After 5 mins of non-usage the sessions corresponding to queues q1 and q2 will
> be expired. When new set of queries are issue after this expiry, the default
> sessions backed by q1 and q2 and reopened again. Now when we run more queries
> the reopened sessions are not used instead new session is opened.
> At this point there will be 4 sessions running (2 abandoned sessions and 2
> current sessions).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)