HBASE-28913 LoadBalancerPerformanceEvaluation fails with NPE#7789
HBASE-28913 LoadBalancerPerformanceEvaluation fails with NPE#7789Apache9 merged 1 commit intoapache:branch-2from
Conversation
| MasterServices services = mock(MasterServices.class); | ||
| when(services.getConfiguration()).thenReturn(conf); | ||
| loadBalancer.setMasterServices(services); |
There was a problem hiding this comment.
We need MasterServices for LB initialize on branch-2.x, which is different from master
b1b4fe0 to
b745b2a
Compare
|
rebase branch-2, includes #7787 |
|
|
|
The failed UTs should not be related. Let me merge. |
It is broken by upgrading hbase-client to junit5, since we use junit5 MockitoExtension in hbase-client, but we do not have this dependency in hbase-server... @liuxiaocs7 Please file an issue to add mockito-junit-jupiter to hbase-server, and remember to add a TODO that we will remove this once TestCheckTestClasses is removed. Thanks. |
Hi, @Apache9, HBASE-29925 and PR: #7798 Test with the following commands on branch-2 using JDK8, it works well mvn test -pl hbase-server -am -Dtest=TestCheckTestClassesand mvn test -pl hbase-server -am -Dtest=TestCheckTestClasses -Dhadoop.profile=3.0 |
…7789) Signed-off-by: Duo Zhang <zhangduo@apache.org>
Uh oh!
There was an error while loading. Please reload this page.