Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.1, 2.2.0
-
None
-
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.