Details
Description
HBase does not allow the zk quorum string to contain port numbers in this format:
hostname1:port1,hostname2:port2,hostname3:port3
Instead it expects the string to be in this format:
hostname1,hostname2,hostname3:port3
And port 3 is used for all the client ports. We should flex the parsing so that both forms are accepted.
A sample exception:
java.io.IOException: Cluster key passed host1:2181,host2:2181,host3:2181,host4:2181,host5:2181:2181:/hbase is invalid, the format should be:hbase.zookeeper.quorum:hbase.zookeeper.client.port:zookeeper.znode.parent at org.apache.hadoop.hbase.zookeeper.ZKUtil.transformClusterKey(ZKUtil.java:403) at org.apache.hadoop.hbase.zookeeper.ZKUtil.applyClusterKeyToConf(ZKUtil.java:386) at org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl.getPeerConf(ReplicationPeersZKImpl.java:304) at org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl.createPeer(ReplicationPeersZKImpl.java:435)
Attachments
Attachments
Issue Links
- relates to
-
PHOENIX-5852 The zkConnectionString in LoadBalance is incorrect
- Closed
-
PHOENIX-6523 Support for HBase Registry Implementations through Phoenix connection URL
- Resolved