hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zg...@apache.org
Subject hbase git commit: HBASE-18120 (addendum) Fix TestAsyncRegionAdminApi
Date Fri, 26 May 2017 10:05:18 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 712beb305 -> b076b8e79


HBASE-18120 (addendum) Fix TestAsyncRegionAdminApi

Signed-off-by: Guanghao Zhang <zghao@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 <openinx@gmail.com>
Authored: Fri May 26 15:41:00 2017 +0800
Committer: Guanghao Zhang <zghao@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();


Mime
View raw message