Apache9 commented on code in PR #6186:
URL: https://github.com/apache/hbase/pull/6186#discussion_r1770558755


##########
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSplitOrMergeAtTableLevel.java:
##########
@@ -157,15 +157,17 @@ private void trySplitAndEnsureItFails(final TableName 
tableName) throws Exceptio
     List<RegionInfo> regions = admin.getRegions(tableName);
     int originalCount = regions.size();
 
-    // split the table and make sure region count does not increase
-    Future<?> f = 
admin.splitRegionAsync(regions.get(0).getEncodedNameAsBytes(), 
Bytes.toBytes(2));
     try {
+      // split the table and make sure region count does not increase
+      Future<?> f =

Review Comment:
   There are some behavior changes when reimplementing sync client on top of 
async client. I think it is OK.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to