You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zg...@apache.org on 2017/05/26 10:05:18 UTC

hbase git commit: HBASE-18120 (addendum) Fix TestAsyncRegionAdminApi

Repository: hbase
Updated Branches:
  refs/heads/master 712beb305 -> b076b8e79


HBASE-18120 (addendum) Fix TestAsyncRegionAdminApi

Signed-off-by: Guanghao Zhang <zg...@apache.org>


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

Branch: refs/heads/master
Commit: b076b8e794d19c9d552cff6c14100b1fda0cf520
Parents: 712beb3
Author: huzheng <op...@gmail.com>
Authored: Fri May 26 15:41:00 2017 +0800
Committer: Guanghao Zhang <zg...@apache.org>
Committed: Fri May 26 16:39:42 2017 +0800

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b076b8e7/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java
index 5ec405e..88803e1 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncRegionAdminApi.java
@@ -26,6 +26,7 @@ import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Random;
+import java.util.concurrent.ExecutionException;
 import java.util.concurrent.atomic.AtomicInteger;
 import java.util.stream.Collectors;
 
@@ -355,7 +356,7 @@ public class TestAsyncRegionAdminApi extends TestAsyncAdminBase {
   }
 
   HRegionInfo createTableAndGetOneRegion(final TableName tableName)
-      throws IOException, InterruptedException {
+      throws ExecutionException, InterruptedException {
     HTableDescriptor desc = new HTableDescriptor(tableName);
     desc.addFamily(new HColumnDescriptor(FAMILY));
     admin.createTable(desc, Bytes.toBytes("A"), Bytes.toBytes("Z"), 5).get();