phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baiqiang Zhao (Jira)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-5852) The zkConnectionString in LoadBalance is incorrect
Date Thu, 16 Apr 2020 11:18:00 GMT
Baiqiang Zhao created PHOENIX-5852:
--------------------------------------

             Summary: The zkConnectionString in LoadBalance is incorrect
                 Key: PHOENIX-5852
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5852
             Project: Phoenix
          Issue Type: Bug
          Components: queryserver
            Reporter: Baiqiang Zhao


The connectionString given to CuratorFrameworkFactory#newClient should look like “host1:port1,host2:port2,host3:port3”.
But the format of zkConnectionString returned by org.apache.phoenix.loadbalancer.service.LoadBalanceZookeeperConfImpl#

getZkConnectString is “host1,host2,host3:port”. This is equal to "host1:2181,host2:2181,host3:port",
it's not correct if your zookeeper's port  is not the default 2181.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message