sunhelly edited a comment on pull request #2728:
URL: https://github.com/apache/hbase/pull/2728#issuecomment-738601802
Oh, the method `balance()` used
`if (serverManager.**areDeadServersInProgress**()) {
LOG.debug("Not running balancer because processing dead
regionserver(s): {}",
serverManager.getDeadServers());
return false;
}
`
So in the UT, if the SCP has not been finished, the balancer will
break.Though it wait for the same host port RS to be online by
`TEST_UTIL.getMiniHBaseCluster().startRegionServerAndWait(60000)`, master deals
them as two servers...
As a result, `assertRegionsInGroup` can fail after `MASTER.balance()`, as we
saw in the test results...
@Apache9 @yuqi1129
This is directly relevant to the patch of HBASE-25282.
----------------------------------------------------------------
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]