Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.2.0
-
None
-
None
Description
HA connections expect the jdbc url string in the form:
jdbc:phoenix:[127.0.0.1:56162:/hbase|127.0.0.1:50866:/hbase]
However, there can be additional information appended after the zk quorum url like user principal.
jdbc:phoenix:[127.0.0.1:56162:/hbase|127.0.0.1:50866:/hbase]:foo
That information is not being parsed and dropped silently. We should pass that information to underlying regular phoenix connection. The JDBC url parsing code for HA connections is at https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/jdbc/HighAvailabilityGroup.java#L198-L219
Attachments
Issue Links
- links to