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

Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • None
    • None

    Description

      KeeperException.NoNodeException and NotEmptyException should be ignored when deleting a zLock or its parent in ZooKeeperHiveLockManager unlockPrimitive. The exceptions can happen:
      1) ZooKeeperHiveLockManager retries deleting a zLock after a failure but it has been deleted.
      2) a race condition where another process adds a zLock just before it is about to be deleted.
      Otherwise, unlock may unnecessarily be retried for numRetriesForUnLock times.

      Attachments

        1. Hive-6082.patch
          3 kB
          Chaoyu Tang
        2. HIVE-6082.patch
          3 kB
          Brock Noland

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: