phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramie Raufdeen <ramie.raufd...@salesforce.com.INVALID>
Subject PHOENIX-6523: Support for connection type through JDBC Phoenix URL
Date Mon, 09 Aug 2021 21:00:37 GMT
Hey folks,

HBASE-18905
<https://docs.google.com/document/d/1JAJdM7eUxg5b417f0xWS4NztKCx1f2b6wZrudPtiXF4/edit>
introduced
a Zookeeper-less connection strategy from the HBase client to HMasters.
Thus, we need to support multiple connection strategies at the Phoenix
HBase driver level as well - captured in
https://issues.apache.org/jira/browse/PHOENIX-6523.

We'll leverage the *+* char of JDBC URL grammar
<https://docs.oracle.com/cd/E17952_01/connector-j-8.0-en/connector-j-reference-jdbc-url-format.html>
to specify the connection type. Connections will start to look something
like this:
- jdbc:phoenix*+hrpc*
:hostname1,hostname2,hostname3:90210:user/principal:/user.keytab;test=false

This is an opt-in feature/change, there will be no regression to existing
URLs, . Connection strings like
*jdbc:phoenix:hostname1,hostname2,hostname3:2181:user/principal:/user.keytab;test=false*
will
continue to default to the Zookeeper registry implementation.

- Ramie

<https://smart.salesforce.com/sig/ramie.raufdeen//us_mb/default/link.html>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message