Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14979

Removing stale Zookeeper locks at HiveServer2 initialization

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Locking
    • None

    Description

      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.

      Attachments

        1. HIVE-14979.3.patch
          13 kB
          Peter Vary
        2. HIVE-14979.4.patch
          13 kB
          Peter Vary
        3. HIVE-14979.5.patch
          13 kB
          Peter Vary
        4. HIVE-14979.patch
          13 kB
          Peter Vary

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pvary Peter Vary
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: