Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4759 Multi-user deployment model has issues with concurrent ddl
  3. HIVE-4761

ZooKeeperHiveLockManage.unlockPrimitive has race condition with threads

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • None
    • None

    Description

      In unlockPrimitive, we check to see if children exist and if not delete the parent node. If two threads do this at the same time it's possible for two threads to call Zookeeper.delete() on the same node.

      Attachments

        1. HIVE-4761.patch
          6 kB
          Brock Noland
        2. HIVE-4761.patch
          6 kB
          Brock Noland

        Issue Links

          Activity

            People

              brocknoland Brock Noland
              brocknoland Brock Noland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: