HBASE-8604 improve reporting of incorrect peer address in replication
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1575459 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f032023ea5
commit
f5965ee660
|
@ -399,7 +399,7 @@ public class ZKUtil {
|
|||
public static String[] transformClusterKey(String key) throws IOException {
|
||||
String[] parts = key.split(":");
|
||||
if (parts.length != 3) {
|
||||
throw new IOException("Cluster key invalid, the format should be:" +
|
||||
throw new IOException("Cluster key passed " + key + " is invalid, the format should be:" +
|
||||
HConstants.ZOOKEEPER_QUORUM + ":hbase.zookeeper.client.port:"
|
||||
+ HConstants.ZOOKEEPER_ZNODE_PARENT);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue