Enrico Olivelli created ZOOKEEPER-3763:
------------------------------------------
Summary: Restore ZKUtil.deleteRecursive in order to help
compatibility of applications with 3.5 and 3.6
Key: ZOOKEEPER-3763
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3763
Project: ZooKeeper
Issue Type: Wish
Components: java client
Affects Versions: 3.6.0
Reporter: Enrico Olivelli
In HerdDB project (https://github.com/diennea/herddb) we are using BookKeeper
that in turn uses ZKUtil.deleteRecursive.
This is the issue on BookKeeper
https://github.com/apache/bookkeeper/issues/2292
This is the error:
java.lang.NoSuchMethodError:
org.apache.zookeeper.ZKUtil.deleteRecursive(Lorg/apache/zookeeper/ZooKeeper;Ljava/lang/String;)V
Apart from trying to fix BookKeeper, we should take into consideration to
restore that signature (adding some dummy method that calls the new one) in
order to ease adoption of ZooKeeper 3.6.x
In fact it is very common that an application uses multiple ZooKeeper based
libraries, like HBase, BookKeeper, Pulsar, Kafka...and the user cannot upgrade
to 3.6 until every other dependency is able to work with 3.6.0.
If the fix is easy, like in this case, it is worth to help the community
--
This message was sent by Atlassian Jira
(v8.3.4#803005)