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

ZooKeeperHiveLockManager throws Failed to release ZooKeeper lock Exception

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            snodawn snodawn

            Dates

              Created:
              Updated:

              Slack

                Issue deployment