joshelser commented on a change in pull request #1230: Backport HBASE-23553 to
branch-2.1
URL: https://github.com/apache/hbase/pull/1230#discussion_r386496544
##########
File path:
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java
##########
@@ -303,4 +312,131 @@ private static void verifyRow(Result result) throws
IOException {
}
}
+ @Test
+ public void testMergeRegion() throws Exception {
+ setupCluster();
+ TableName tableName = TableName.valueOf("testMergeRegion");
+ String snapshotName = tableName.getNameAsString() + "_snapshot";
+ Configuration conf = UTIL.getConfiguration();
+ Path rootDir =
UTIL.getHBaseCluster().getMaster().getMasterFileSystem().getRootDir();
+ long timeout = 20000; // 20s
+ try (Admin admin = UTIL.getAdmin()) {
+ List<String> serverList = admin.getRegionServers().stream().map(sn ->
sn.getServerName())
Review comment:
Unused
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services