Class TestRSGroupBasedLoadBalancerWithCacheAwareLoadBalancerAsInternal
java.lang.Object
org.apache.hadoop.hbase.master.balancer.BalancerTestBase
org.apache.hadoop.hbase.master.balancer.RSGroupableBalancerTestBase
org.apache.hadoop.hbase.master.balancer.TestRSGroupBasedLoadBalancerWithCacheAwareLoadBalancerAsInternal
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
BalancerTestBase.MockMapping -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.rsgroup.RSGroupBasedLoadBalancerprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.master.balancer.RSGroupableBalancerTestBase
conf, groupMap, groups, regionAssignment, regionId, servers, table0, tableDescs, tablesFields inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
clusterStateMocks, clusterStateMocksWithNoSlop, clusterStateMocksWithSlop, largeCluster -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.master.balancer.RSGroupableBalancerTestBase
assertClusterAsBalanced, assertImmediateAssignment, assertRetainedAssignment, assignedRegions, constructGroupInfo, constructTableDesc, convertToGroupBasedMap, generateServers, getMockedGroupInfoManager, getMockedMaster, getTableName, mockClusterServers, mockServerMetricsWithRegionCacheInfo, printStats, randomRegions, reconcile, updateLoadMethods inherited from class org.apache.hadoop.hbase.master.balancer.BalancerTestBase
assertClusterAsBalanced, assertClusterOverallAsBalanced, assertRegionReplicaPlacement, convertToList, createRegions, createServerMap, mockCluster, mockClusterServers, mockClusterServers, mockClusterServers, mockClusterServersUnsorted, mockClusterServersWithTables, mockUniformClusterServers, printMock, printStats, randomRegions, randomServer, randomServers, reconcile, returnRegions, returnServer, returnServers, uniformRegions, updateLoad
-
Field Details
-
CLASS_RULE
-
LOG
-
loadBalancer
-
-
Constructor Details
-
TestRSGroupBasedLoadBalancerWithCacheAwareLoadBalancerAsInternal
-
-
Method Details
-
beforeAllTests
- Throws:
Exception
-
testRegionsNotCachedOnOldServerAndCurrentServer
- Throws:
Exception
-
testRegionsPartiallyCachedOnOldServerAndNotCachedOnCurrentServer
- Throws:
Exception
-
testThrottlingRegionBeyondThreshold
- Throws:
Exception
-
testThrottlingRegionBelowThreshold
- Throws:
Exception
-
testThrottlingCacheRatioUnknownOnTarget
- Throws:
Exception
-
testThrottlingCacheRatioUnknownForRegion
- Throws:
Exception
-
testRegionPlansSortedByCacheRatioOnTarget
- Throws:
Exception
-
testRegionsFullyCachedOnOldServerAndNotCachedOnCurrentServers
- Throws:
Exception
-
testRegionsFullyCachedOnOldAndCurrentServers
- Throws:
Exception
-
testRegionsPartiallyCachedOnOldServerAndCurrentServer
- Throws:
Exception
-
testConfigUpdateDuringBalance
- Throws:
Exception
-