public static class TestBaseLoadBalancer.MockBalancer extends org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer
BALANCER_DECISION_BUFFER_ENABLED, BALANCER_REJECTION_BUFFER_ENABLED, clusterStatus, DEFAULT_BALANCER_DECISION_BUFFER_ENABLED, DEFAULT_BALANCER_REJECTION_BUFFER_ENABLED, DEFAULT_HBASE_MASTER_LOADBALANCE_BYTABLE, isByTable, masterServerName, metricsBalancer, MIN_SERVER_BALANCE, onlySystemTablesOnMaster, rackManager, regionFinder, services, slop, useRegionFinder
Constructor and Description |
---|
MockBalancer() |
Modifier and Type | Method and Description |
---|---|
protected List<org.apache.hadoop.hbase.master.RegionPlan> |
balanceTable(org.apache.hadoop.hbase.TableName tableName,
Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> loadOfOneTable) |
assignMasterSystemRegions, balanceCluster, balanceMasterRegions, getConf, getDefaultSlop, idleRegionServerExist, initialize, isStopped, loadConf, onConfigurationChange, postMasterStartupInitialize, preBalanceCluster, randomAssignment, regionOffline, regionOnline, retainAssignment, roundRobinAssignment, setMasterServices, shouldBeOnMaster, sloppyRegionServerExist, stop, toEnsumbleTableLoad, updateBalancerStatus, updateClusterMetrics
public MockBalancer()
protected List<org.apache.hadoop.hbase.master.RegionPlan> balanceTable(org.apache.hadoop.hbase.TableName tableName, Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> loadOfOneTable)
balanceTable
in class org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.