hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] [Created] (HIVE-17166) Break Locks On Timeout
Date Tue, 25 Jul 2017 15:23:00 GMT
BELUGA BEHR created HIVE-17166:

             Summary: Break Locks On Timeout
                 Key: HIVE-17166
             Project: Hive
          Issue Type: New Feature
          Components: HiveServer2
    Affects Versions: 2.1.1, 1.2.2, 3.0.0
            Reporter: BELUGA BEHR

Hive supports table and partition locks by utilizing ZooKeeper to keep track.  There are several
configurations related to this, including: {{hive.lock.sleep.between.retries}} and {{hive.lock.numretries}}.

I'd lile to propose a new boolean configuration that, when set, would alter the behavior of
a lock timeout failure.  Instead of failing the query with an error, the configuration would
direct Hive to break the lock and allow the query try to obtain a new one and proceed.

This is useful in cases where locks are leaked and erroneously left behind.  Such scenarios
create permanent blocking on future queries.  This break-lock mechanism would alleviate this

This message was sent by Atlassian JIRA

View raw message