Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BookKeeper is not compatible with ZookKeeper 3.6.0 #2292

Closed
eolivelli opened this issue Mar 18, 2020 · 2 comments
Closed

BookKeeper is not compatible with ZookKeeper 3.6.0 #2292

eolivelli opened this issue Mar 18, 2020 · 2 comments
Labels

Comments

@eolivelli
Copy link
Contributor

eolivelli commented Mar 18, 2020

in ZKRegistrationManager we are using the Utility function org.apache.zookeeper.ZKUtil.deleteRecursive that has been changed in 3.6.0.

To Reproduce
Use ZooKeeper 3.6.0 in a project that is also using BookKeeper 4.10.0
(like diennea/herddb#581)

BookKeeperAdmin won't be able to work.

java.lang.NoSuchMethodError: org.apache.zookeeper.ZKUtil.deleteRecursive(Lorg/apache/zookeeper/ZooKeeper;Ljava/lang/String;)V
	at org.apache.bookkeeper.discover.ZKRegistrationManager.format(ZKRegistrationManager.java:513)
	at org.apache.bookkeeper.client.BookKeeperAdmin.lambda$format$3(BookKeeperAdmin.java:1194)
	at org.apache.bookkeeper.meta.MetadataDrivers.runFunctionWithMetadataBookieDriver(MetadataDrivers.java:370)
	at org.apache.bookkeeper.client.BookKeeperAdmin.format(BookKeeperAdmin.java:1167)

Expected behavior
BookKeeperAdmin should be able to "format" the cluster

@eolivelli
Copy link
Contributor Author

I have created an issue in ZooKeeper
https://issues.apache.org/jira/browse/ZOOKEEPER-3763

@eolivelli
Copy link
Contributor Author

eolivelli commented Mar 22, 2020

With ZK 3.6.1 we won't have this problem anymore,
see the fix for ZOOKEEPER-3763
apache/zookeeper#1287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant