You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2023/11/06 08:37:11 UTC

(phoenix) branch master updated: PHOENIX-6523 Support for HBase Registry Implementations through Phoenix connection URL (addendum:use hbase.client.bootstrap.servers for RPCRegistry)

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
     new 97915cd098 PHOENIX-6523 Support for HBase Registry Implementations through Phoenix connection URL (addendum:use hbase.client.bootstrap.servers for RPCRegistry)
97915cd098 is described below

commit 97915cd098d10760dc622a091ae69279a57b6250
Author: Istvan Toth <st...@apache.org>
AuthorDate: Mon Nov 6 09:36:42 2023 +0100

    PHOENIX-6523 Support for HBase Registry Implementations through Phoenix connection URL (addendum:use hbase.client.bootstrap.servers for RPCRegistry)
---
 .../src/main/java/org/apache/phoenix/jdbc/RPCConnectionInfo.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/RPCConnectionInfo.java b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/RPCConnectionInfo.java
index 9baeb66b30..ef04d5609f 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/RPCConnectionInfo.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/RPCConnectionInfo.java
@@ -59,7 +59,7 @@ public class RPCConnectionInfo extends AbstractRPCConnectionInfo {
 
         if (getBoostrapServers() != null) {
             // This is already normalized to include ports
-            connectionProps.put(HConstants.MASTER_ADDRS_KEY, bootstrapServers);
+            connectionProps.put(BOOTSTRAP_NODES, bootstrapServers);
         }
 
         return connectionProps.isEmpty() ? ReadOnlyProps.EMPTY_PROPS