static class TestZooKeeper.MockLoadBalancer extends org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
retainAssignCalled |
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 |
---|
MockLoadBalancer() |
Modifier and Type | Method and Description |
---|---|
Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> |
retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions,
List<org.apache.hadoop.hbase.ServerName> servers) |
balanceTable, loadConf, onConfigurationChange, preBalanceCluster
assignMasterSystemRegions, balanceCluster, balanceMasterRegions, getConf, getDefaultSlop, idleRegionServerExist, initialize, isStopped, postMasterStartupInitialize, randomAssignment, regionOffline, regionOnline, roundRobinAssignment, setMasterServices, shouldBeOnMaster, sloppyRegionServerExist, stop, toEnsumbleTableLoad, updateBalancerStatus, updateClusterMetrics
static boolean retainAssignCalled
MockLoadBalancer()
@NonNull public Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> retainAssignment(Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName> regions, List<org.apache.hadoop.hbase.ServerName> servers) throws org.apache.hadoop.hbase.HBaseIOException
retainAssignment
in interface org.apache.hadoop.hbase.master.LoadBalancer
retainAssignment
in class org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer
org.apache.hadoop.hbase.HBaseIOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.