Repository: hbase Updated Branches: refs/heads/HBASE-14614 1e82848a5 -> 9cd5f2d57 (forced update)
HBASE-18120 (addendum) Fix TestAsyncRegionAdminApi Signed-off-by: Guanghao Zhang <[email protected]> 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/HBASE-14614 Commit: b076b8e794d19c9d552cff6c14100b1fda0cf520 Parents: 712beb3 Author: huzheng <[email protected]> Authored: Fri May 26 15:41:00 2017 +0800 Committer: Guanghao Zhang <[email protected]> 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();
