-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional improvements to ZooKeeper utility code
* Add static ZooUtil.close(ZooKeeper) method to avoid handling InterruptedException that's documented as never being thrown from ZooKeeper.close() * Lazy load and memoize ClientInfo and ServerInfo members; these are becoming more and more closer to being able to be merged with ClientContext/ServerContext for even further simplification in the future (if we want to pursue it) * Remove zk connection stuff in the ZooUtil tools recently moved to that class; instead, a zk is explicitly passed to them * Fix a bug in MiniCluster's verifyUp method that would dump ZK multiple times
- Loading branch information
Showing
14 changed files
with
253 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.