8000 GitHub - shaunmccready/locking-issue: Apache Curator & ZooKeeper locking issue. trying to solve NoNode exception
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

shaunmccready/locking-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apache Curator and ZooKeeper Test

*Trying to solve the issue im experiencing with KeeperException$NoNodeException: KeeperErrorCode = NoNode

Running Curator 4.0.1 and on ZooKeeper server version 3.5.5 , obtained HERE because this combination worked, ie: This combination didnt generate UNIMPLEMENTED errors as mentioned HERE Also need the bin version or will get ClassNotFoundExceptions and won't start ZooKeeper.

Would be nice to log the value of the String variable ourPath in the class LockInternals.java(L:225) which would include both the path being passed to Curator, as well as the UUID being generated but im not sure if its possible to do that besides debugging and copying the value to clipboard. Then to follow the internalLockLoop() method to see how driver.getsTheLock() is able to get the lock on one thread meanwhile another thread seems to still have possession of the lock, as indicated in the logging in the console when running the test.

Please email me at shaunwmccready@gmail.com for any questions or comments. Thank you!

About

Apache Curator & ZooKeeper locking issue. trying to solve NoNode exception

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0