Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86E77101F7 for ; Sat, 8 Mar 2014 00:48:48 +0000 (UTC) Received: (qmail 67977 invoked by uid 500); 8 Mar 2014 00:48:47 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 67910 invoked by uid 500); 8 Mar 2014 00:48:47 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 67902 invoked by uid 99); 8 Mar 2014 00:48:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2014 00:48:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Mar 2014 00:48:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4555923889F1; Sat, 8 Mar 2014 00:48:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1575461 - /hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java Date: Sat, 08 Mar 2014 00:48:26 -0000 To: commits@hbase.apache.org From: stack@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140308004826.4555923889F1@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stack Date: Sat Mar 8 00:48:25 2014 New Revision: 1575461 URL: http://svn.apache.org/r1575461 Log: HBASE-8604 improve reporting of incorrect peer address in replication Modified: hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java Modified: hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java?rev=1575461&r1=1575460&r2=1575461&view=diff ============================================================================== --- hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java (original) +++ hbase/branches/0.96/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java Sat Mar 8 00:48:25 2014 @@ -398,7 +398,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); }