hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohit Sabharwal (JIRA)" <>
Subject [jira] [Commented] (HIVE-12431) Support timeout for global compile lock
Date Thu, 03 Dec 2015 08:18:11 GMT


Mohit Sabharwal commented on HIVE-12431:

When global (HS2-wide) compile lock is configured, a long-compiling request  will block remaining
sessions indefinitely. 

Attached patch allows the user to configure the maximum time a request will wait to acquire
the compile lock. Note that this configuration does not apply when session scoped compile
locking is configured.

> Support timeout for global compile lock
> ---------------------------------------
>                 Key: HIVE-12431
>                 URL:
>             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

View raw message