[
https://issues.apache.org/jira/browse/HIVE-12431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15038432#comment-15038432
]
Sergey Shelukhin commented on HIVE-12431:
-----------------------------------------
{noformat}
+ Thread.currentThread().interrupt();
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Interrupted Exception ignored", e);
+ }
+ }
{noformat}
This path will return the lock without having acquired it
> 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.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)