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

ZooKeeperHiveLockManager throws Failed to release ZooKeeper lock Exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.1, 2.2.0
    • None
    • Locking
    • None
    • jdk 1.7

    Description

      i found exception :

      ZooKeeperHiveLockManager: Failed to release ZooKeeper lock:
      java.lang.IllegalStateException: instance must be started before calling this method

      because in ShutdownHookManager, priority of CuratorFrameworkSingleton.closeAndReleaseInstance is 10, but in Driver.releaseLocksAndCommitOrRollback, it's 0. So locks are released after CuratorFramework is closed, which may case such exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            snodawn snodawn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: