You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/07/21 19:03:00 UTC

[jira] [Commented] (PHOENIX-6995) HA client connections ignore additional jdbc params in the jdbc string

    [ https://issues.apache.org/jira/browse/PHOENIX-6995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17745699#comment-17745699 ] 

ASF GitHub Bot commented on PHOENIX-6995:
-----------------------------------------

tkhurana opened a new pull request, #1643:
URL: https://github.com/apache/phoenix/pull/1643

   …he jdbc string




> HA client connections ignore additional jdbc params in the jdbc string
> ----------------------------------------------------------------------
>
>                 Key: PHOENIX-6995
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-6995
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 5.2.0, 5.1.3
>            Reporter: Tanuj Khurana
>            Assignee: Tanuj Khurana
>            Priority: Major
>
> HA connections expect the jdbc url string in the form:
> {code:java}
> jdbc:phoenix:[127.0.0.1:56162:/hbase|127.0.0.1:50866:/hbase]{code}
> However, there can be additional information appended after the zk quorum url like user principal.
> {code:java}
> jdbc:phoenix:[127.0.0.1:56162:/hbase|127.0.0.1:50866:/hbase]:foo {code}
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)