You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2020/02/27 09:50:44 UTC

[GitHub] [hbase] jatsakthi commented on a change in pull request #1203: HBASE-23878 : Backport HBASE-22040 to branch-2.1

jatsakthi commented on a change in pull request #1203: HBASE-23878 : Backport HBASE-22040 to branch-2.1
URL: https://github.com/apache/hbase/pull/1203#discussion_r385017497
 
 

 ##########
 File path: hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java
 ##########
 @@ -1185,41 +1184,41 @@ private void checkAndGetTableName(byte[] encodeRegionName, AtomicReference<Table
   }
 
   @Override
-  public CompletableFuture<Void> mergeRegions(byte[] nameOfRegionA, byte[] nameOfRegionB,
-      boolean forcible) {
+  public CompletableFuture<Void> mergeRegions(List<byte[]> nameOfRegionsToMerge, boolean forcible) {
+    if (nameOfRegionsToMerge.size() < 2) {
 
 Review comment:
   I would think so too. Preconditions doesn't seem to have the capability to return a future object that we would need for these functions. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services