-
Notifications
You must be signed in to change notification settings - Fork 59
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
PHOENIX-7103 Phoenix-connectors uses the refactored ConnectionInfo class #111
Conversation
💔 -1 overall
This message was automatically generated. |
if (parts.length >= 1) | ||
conf.set(HConstants.ZOOKEEPER_QUORUM, parts(0).replaceAll("=", "\\\\:")) | ||
if (parts.length >= 2) | ||
conf.setInt(HConstants.ZOOKEEPER_CLIENT_PORT, Integer.parseInt(parts(1).replaceAll("=", "\\\\:"))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parts(1).replaceAll("=", "\\\\:"))
should be a number, and I am not sure if it will be
if the zk Url is something like: jdbc:phoenix+zk:zk1-1\\:2181,zk1-2\\:2181::/hbase
escapedUrl will be like: zk1-1=2181,zk1-2=2181 : : /hbase
So the ports are in the part(0)
Is the zkUrl different than I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, we should check if the string is empty.
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.