public static class TestBaseLoadBalancer.MockBalancer extends org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer
clusterStatus, config, IDLE_SERVER_PREDICATOR, maintenanceMode, masterServerName, metricsBalancer, MIN_SERVER_BALANCE, onlySystemTablesOnMaster, overallSlop, rackManager, regionFinder, services, slop, useRegionFinder
Constructor and Description |
---|
MockBalancer() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.hbase.master.RegionPlan> |
balanceCluster(Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> clusterState) |
List<org.apache.hadoop.hbase.master.RegionPlan> |
balanceCluster(org.apache.hadoop.hbase.TableName tableName,
Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> clusterState) |
areSomeRegionReplicasColocated, assignMasterSystemRegions, balanceMasterRegions, createCluster, getConf, getRegionAssignmentsByServer, initialize, isStopped, needsBalance, onConfigurationChange, postMasterStartupInitialize, randomAssignment, regionOffline, regionOnline, retainAssignment, roundRobinAssignment, setClusterLoad, setClusterMetrics, setConf, setMasterServices, setRackManager, setSlop, shouldBeOnMaster, stop
public MockBalancer()
public List<org.apache.hadoop.hbase.master.RegionPlan> balanceCluster(Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> clusterState)
public List<org.apache.hadoop.hbase.master.RegionPlan> balanceCluster(org.apache.hadoop.hbase.TableName tableName, Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>> clusterState) throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.