You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2016/10/15 08:58:20 UTC

[jira] [Created] (HIVE-14979) Removing stale Zookeeper locks at HiveServer2 initialization

Peter Vary created HIVE-14979:
---------------------------------

             Summary: Removing stale Zookeeper locks at HiveServer2 initialization
                 Key: HIVE-14979
                 URL: https://issues.apache.org/jira/browse/HIVE-14979
             Project: Hive
          Issue Type: Improvement
          Components: Locking
            Reporter: Peter Vary
            Assignee: Peter Vary


HiveServer2 could use Zookeeper to store token that indicate that particular tables are locked with the creation of persistent Zookeeper objects. 
A problem can occur when a HiveServer2 instance creates a lock on a table and the HiveServer2 instances crashes ("Out of Memory" for example) and the locks are not released in Zookeeper. This lock will then remain until it is manually cleared by an admin.

There should be a way to remove stale locks at HiveServer2 initialization, helping the admins life.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)