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

Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      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

            • Assignee:
              ctang.ma Chaoyu Tang
              Reporter:
              ctang.ma Chaoyu Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: