Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 249F0200CF3 for ; Thu, 20 Jul 2017 01:21:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2382516A335; Wed, 19 Jul 2017 23:21:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0846316A324 for ; Thu, 20 Jul 2017 01:21:40 +0200 (CEST) Received: (qmail 9184 invoked by uid 500); 19 Jul 2017 23:21:38 -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 7494 invoked by uid 99); 19 Jul 2017 23:21:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2017 23:21:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 81908F558B; Wed, 19 Jul 2017 23:21:37 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: apurtell@apache.org To: commits@hbase.apache.org Date: Wed, 19 Jul 2017 23:21:53 -0000 Message-Id: <62dec3e6f24d456ab04e05c9b03c88db@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [17/22] hbase git commit: HBASE-17772 IntegrationTestRSGroup won't run archived-at: Wed, 19 Jul 2017 23:21:42 -0000 HBASE-17772 IntegrationTestRSGroup won't run Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1259fc80 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1259fc80 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1259fc80 Branch: refs/heads/HBASE-15631-branch-1 Commit: 1259fc80d8dc013f94b6150e3fbbd537fcd80fc7 Parents: 5cc50d4 Author: Andrew Purtell Authored: Wed Jul 5 18:24:47 2017 -0700 Committer: Andrew Purtell Committed: Wed Jul 19 16:21:10 2017 -0700 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/1259fc80/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java ---------------------------------------------------------------------- diff --git a/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java b/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java index 5831696..52f576d 100644 --- a/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java +++ b/hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsBase.java @@ -150,7 +150,14 @@ public abstract class TestRSGroupsBase { ClusterStatus status = TEST_UTIL.getHBaseClusterInterface().getClusterStatus(); for(ServerName serverName : status.getServers()) { for(RegionLoad rl : status.getLoad(serverName).getRegionsLoad().values()) { - TableName tableName = HRegionInfo.getTable(rl.getName()); + TableName tableName = null; + try { + tableName = HRegionInfo.getTable(rl.getName()); + } catch (IllegalArgumentException e) { + LOG.warn("Failed parse a table name from regionname=" + + Bytes.toStringBinary(rl.getName())); + continue; + } if(!map.containsKey(tableName)) { map.put(tableName, new TreeMap>()); }