Skip to content

Port ZOOKEEPER-4377 to Kyuubi shaded ZooKeeper 3.4 and 3.6 #6496

@pan3793

Description

@pan3793

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

What would you like to be improved?

Port ZOOKEEPER-4377 (apache/zookeeper#1764) to https://github.com/apache/kyuubi-shaded/tree/master/kyuubi-relocated-zookeeper-parent/kyuubi-relocated-zookeeper-34 and https://github.com/apache/kyuubi-shaded/tree/master/kyuubi-relocated-zookeeper-parent/kyuubi-relocated-zookeeper-36

How should we improve?

By default, Kyuubi uses the shaded ZooKeeper 3.4 client to gain compatibility, while it may cause NPE when accessing a higher version of the ZooKeeper server, for example, #1894, we should backport ZOOKEEPER-4377 to gain a clear error message.

Are you willing to submit PR?

  • Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
  • No. I cannot submit a PR at this time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions