You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Baiqiang Zhao (Jira)" <ji...@apache.org> on 2020/04/16 11:18:00 UTC

[jira] [Created] (PHOENIX-5852) The zkConnectionString in LoadBalance is incorrect

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)