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:
Michael Stack 2014-03-08 00:47:31 +00:00
parent f032023ea5
commit f5965ee660
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}