You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/03/04 02:27:01 UTC
[GitHub] [pulsar] Maslino created a discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
GitHub user Maslino created a discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Pulsar 2.7.x uses curator 4 and zookeeper 3.5.x
From Pulsar 2.8.x onwards, pulsar uses curator 5 and zookeeper 3.6.x
I want to upgrade pulsar 2.7.x to 2.10.x, but face the problem of compatibility between curator library and zookeeper server.
Following the upgrade guidelines from pulsar docs, the upgrade sequence is firstly zookeeper then bookkeeper and then broker. And zookeeper upgrade is optional.
If I choose to not to upgrade zookeeper: are bookkeeper and broker of pulsar 2.10.x compatible with zookeeper 3.5.x of pulsar 2.7.x?
If I choose to upgrade zookeeper: is bookkeeper of pulsar 2.7.x compatible with zookeeper 3.6.x of pulsar 3.10.x?
As far as I know, pulsar 2.10.x is not compatible with zookeeper 3.5.x
Is pulsar 2.7.x compatible with zookeeper 3.6.x ?
GitHub link: https://github.com/apache/pulsar/discussions/19709
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] Maslino added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user Maslino added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
[issue #14675](https://github.com/apache/pulsar/issues/14675) shows that pulsar 2.10.x is not compatible with ZK 3.5.x
When I upgrade pulsar 2.7.4 to 2.10.3 without ZK upgrade, bookie seems OK but broker throws the same exception (**UnimplementedException: KeeperErrorCode = Unimplemented for /**) as described in the above issue failing to start.
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199298
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] Maslino added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user Maslino added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
I am using the official pulsar-all docker image.
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199526
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
@Maslino I think it's because the zk client in broker classpath is >= 3.6.3. You may try to replace the zookeeper JARs under `$PULSAR_HOME/lib` with 3.5.x version and see what happens.
Curator conditionally uses new features based on what version of ZK in the classpath.
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199351
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] Shoothzj added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user Shoothzj added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
I think it will works
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199214
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
I don't remember that we use any new features of ZK/Curator on the Pulsar side, so such ZK/Curator version shift should all work.
cc @eolivelli
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199247
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Well. Then it can be a problem 🤣
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199547
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun edited a comment on the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun edited a comment on the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
I don't remember that we use any new features of ZK/Curator on the Pulsar side, so such ZK/Curator version shift should all work.
cc @eolivelli @merlimat
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199247
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user tisonkun added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
BTW, perhaps a compatible matrix helps?
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199249
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org
[GitHub] [pulsar] Shoothzj added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
Posted by GitBox <gi...@apache.org>.
GitHub user Shoothzj added a comment to the discussion: upgrade pulsar 2.7.x to 2.10.x: curator and zookeeper compatibility problem
@Maslino would you mind rebuild a image to replace zookeeper library inside lib directory?
GitHub link: https://github.com/apache/pulsar/discussions/19709#discussioncomment-5199560
----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org