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

The zkConnectionString in LoadBalance is incorrect

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: queryserver-6.0.0
    • Component/s: queryserver
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                DeanZ Baiqiang Zhao
                Reporter:
                DeanZ Baiqiang Zhao
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m