Hive
  1. Hive
  2. HIVE-6082

Certain KeeperException should be ignored in ZooKeeperHiveLockManage.unlockPrimitive

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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.

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

        Activity

        Chaoyu Tang created issue -
        Chaoyu Tang made changes -
        Field Original Value New Value
        Attachment Hive-6082.patch [ 12619827 ]
        Chaoyu Tang made changes -
        Assignee Chaoyu Tang [ ctang.ma ]
        Brock Noland made changes -
        Attachment HIVE-6082.patch [ 12619828 ]
        Brock Noland made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Brock Noland made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.13.0 [ 12324986 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development