You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by en...@apache.org on 2015/01/13 03:52:55 UTC

hbase git commit: HBASE-12835 HBASE-12422 changed new HTable(Configuration) to not use managed Connections anymore - ADDENDUM for test failure

Repository: hbase
Updated Branches:
  refs/heads/branch-1 8470936d7 -> 6e45269f2


HBASE-12835 HBASE-12422 changed new HTable(Configuration) to not use managed Connections anymore - ADDENDUM for test failure


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6e45269f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6e45269f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6e45269f

Branch: refs/heads/branch-1
Commit: 6e45269f2c668bdf57163d4d18aa6f6a2694c0f9
Parents: 8470936
Author: Enis Soztutar <en...@apache.org>
Authored: Mon Jan 12 18:52:49 2015 -0800
Committer: Enis Soztutar <en...@apache.org>
Committed: Mon Jan 12 18:52:49 2015 -0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/6e45269f/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
index 74bcfa2..5f44d13 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
@@ -2168,7 +2168,7 @@ public class HBaseTestingUtility extends HBaseCommonTestingUtility {
       HConnection conn = table.getConnection();
       conn.clearRegionCache();
       // assign all the new regions IF table is enabled.
-      Admin admin = conn.getAdmin();
+      Admin admin = getHBaseAdmin();
       if (admin.isTableEnabled(table.getName())) {
         for(HRegionInfo hri : newRegions) {
           admin.assign(hri.getRegionName());