Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6995

HA client connections ignore additional jdbc params in the jdbc string

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.2.0
    • 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

          Activity

            People

              tkhurana Tanuj Khurana
              tkhurana Tanuj Khurana
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: