Apache9 commented on code in PR #6169:
URL: https://github.com/apache/hbase/pull/6169#discussion_r1730376827
##########
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSplitOrMergeAtTableLevel.java:
##########
@@ -217,14 +218,15 @@ private void tryMergeAndEnsureItFails(final TableName
tableName) throws Exceptio
byte[] nameOfRegionB = regions.get(1).getEncodedNameAsBytes();
// check and ensure that region do not get merged
- Future<?> f = admin.mergeRegionsAsync(nameOfRegionA, nameOfRegionB, true);
+ Future<?> f = admin.mergeRegionsAsync(new byte[][] { nameOfRegionA,
nameOfRegionB }, true);
Review Comment:
Why we need this change? Because the method which takes two byte[] is
deprecated?
--
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]