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

[Pulsar SQL] Fix pulsar sql use multi zk address failed #6947

Merged

Conversation

gaoran10
Copy link
Contributor

@gaoran10 gaoran10 commented May 12, 2020

Fixes #6852

Motivation

Currently, if the config pulsar.zookeeper-uri use multi zk address like this 127.0.0.1:2181,127.0.0.2:2181,127.0.0.3:2181 in $PULAR_HOME/conf/presto/catalog/pulsar.properties, the Pulsar SQL query will be failed.

Break PR #5001.

Modifications

Change the multi zk address delimiter from , to ; for the config metadataServiceUri of the ClientConfiguration.

Verifying this change

  • Make sure that the change passes the CI checks.

This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API: (no)
  • The schema: (no)
  • The default values of configurations: (no)
  • The wire protocol: (no)
  • The rest endpoints: (no)
  • The admin cli options: (no)
  • Anything that affects deployment: (no)

Documentation

  • Does this pull request introduce a new feature? (no)

@gaoran10 gaoran10 changed the title Fix pulsar sql use multi zk address failed [Pulsar SQL] Fix pulsar sql use multi zk address failed May 14, 2020
@sijie sijie added area/sql Pulsar SQL related features type/bug The PR fixed a bug or issue reported a bug labels May 18, 2020
@sijie sijie added this to the 2.6.0 milestone May 18, 2020
@codelipenghui codelipenghui merged commit a9ae257 into apache:master Jun 4, 2020
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
Fixes apache#6852 

### Motivation

Currently, if the config `pulsar.zookeeper-uri` use multi zk address like this `127.0.0.1:2181,127.0.0.2:2181,127.0.0.3:2181` in $PULAR_HOME/conf/presto/catalog/pulsar.properties, the Pulsar SQL query will be failed.

Break PR apache#5001.

### Modifications

Change the multi zk address delimiter from `,` to `;` for the config `metadataServiceUri` of the `ClientConfiguration`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sql Pulsar SQL related features type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Pulsar SQL] multiple zk servers issue
3 participants