[
https://issues.apache.org/jira/browse/HIVE-12431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038789#comment-15038789
]
Mohit Sabharwal commented on HIVE-12431:
----------------------------------------
Also, changed the patch to apply the timeout to both global and session-level
locks.
> Support timeout for global compile lock
> ---------------------------------------
>
> Key: HIVE-12431
> URL: https://issues.apache.org/jira/browse/HIVE-12431
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2, Query Processor
> Affects Versions: 1.2.1
> Reporter: Lenni Kuff
> Assignee: Mohit Sabharwal
> Attachments: HIVE-12431.1.patch, HIVE-12431.patch
>
>
> To help with HiveServer2 scalability, it would be useful to allow users to
> configure a timeout value for queries waiting to be compiled. If the timeout
> value is reached then the query would abort. One option to achieve this would
> be to update the compile lock to use a try-lock with the timeout value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)