Class TestStochasticLoadBalancerHeterogeneousCost.StochasticLoadTestBalancer

java.lang.Object
org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer
org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer
org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCost.StochasticLoadTestBalancer
All Implemented Interfaces:
org.apache.hadoop.hbase.conf.ConfigurationObserver, org.apache.hadoop.hbase.master.LoadBalancer, org.apache.hadoop.hbase.Stoppable
Enclosing class:
TestStochasticLoadBalancerHeterogeneousCost

static class TestStochasticLoadBalancerHeterogeneousCost.StochasticLoadTestBalancer extends org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer

    org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer.GeneratorType
  • Field Summary

    Fields

    Fields inherited from class org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer

    candidateGenerators, COST_FUNCTIONS_COST_FUNCTIONS_KEY, costFunctions, DEFAULT_KEEP_REGION_LOADS, DEFAULT_MAX_RUNNING_TIME, DEFAULT_MAX_STEPS, DEFAULT_MIN_COST_NEED_BALANCE, DEFAULT_RUN_MAX_STEPS, DEFAULT_STEPS_PER_REGION, KEEP_REGION_LOADS, loads, MAX_RUNNING_TIME_KEY, MAX_STEPS_KEY, MIN_COST_NEED_BALANCE_KEY, OVERALL_COST_FUNCTION_NAME, regionCacheRatioOnOldServerMap, RUN_MAX_STEPS_KEY, STEPS_PER_REGION_KEY

    Fields inherited from class 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, provider, rackManager, regionFinder, slop, useRegionFinder

    Fields inherited from interface org.apache.hadoop.hbase.master.LoadBalancer

    BOGUS_SERVER_NAME, HBASE_RSGROUP_LOADBALANCER_CLASS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.hadoop.hbase.master.balancer.CandidateGenerator
     

    Methods inherited from class org.apache.hadoop.hbase.master.balancer.StochasticLoadBalancer

    balanceTable, composeAttributeName, computeCost, createCandidateGenerators, createCostFunctions, functionCost, getCandidateGenerators, getCostFunctionNames, getCostFunctions, initCosts, loadConf, needsBalance, nextAction, sendRejectionReasonToRingBuffer, setRackManager, updateBalancerLoadInfo, updateClusterMetrics, updateCostsAndWeightsWithAction, updateMetricsSize

    Methods inherited from class org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer

    balanceCluster, getConf, getDefaultSlop, idleRegionServerExist, initialize, isStopped, onConfigurationChange, postMasterStartupInitialize, preBalanceCluster, randomAssignment, regionOffline, regionOnline, retainAssignment, roundRobinAssignment, setClusterInfoProvider, sloppyRegionServerExist, stop, toEnsumbleTableLoad, updateBalancerStatus

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait