Class LoadBalancerPerformanceEvaluation

java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.master.balancer.LoadBalancerPerformanceEvaluation
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

@LimitedPrivate("Tools") public class LoadBalancerPerformanceEvaluation extends org.apache.hadoop.hbase.util.AbstractHBaseTool
Tool to test performance of different LoadBalancer implementations. Example command: $ bin/hbase org.apache.hadoop.hbase.master.balancer.LoadBalancerPerformanceEvaluation -regions 1000 -servers 100 -load_balancer org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool

    org.apache.hadoop.hbase.util.AbstractHBaseTool.OptionsOrderComparator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String
     
    private static final int
     
    private static final int
     
    private static org.apache.hbase.thirdparty.org.apache.commons.cli.Option
     
    private org.apache.hadoop.hbase.master.LoadBalancer
     
    private Class<?>
     
    private String
     
    private static final org.slf4j.Logger
     
    private static org.apache.hbase.thirdparty.org.apache.commons.cli.Option
     
    private static org.apache.hbase.thirdparty.org.apache.commons.cli.Option
     
    private int
     
    private int
     
    private List<org.apache.hadoop.hbase.client.RegionInfo>
     
    private Map<org.apache.hadoop.hbase.client.RegionInfo,org.apache.hadoop.hbase.ServerName>
     
    private List<org.apache.hadoop.hbase.ServerName>
     
    private Map<org.apache.hadoop.hbase.TableName,Map<org.apache.hadoop.hbase.ServerName,List<org.apache.hadoop.hbase.client.RegionInfo>>>
     
    protected static final HBaseCommonTestingUtility
     

    Fields inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool

    cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS, LONG_HELP_OPTION, options, SHORT_HELP_OPTION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected int
     
    private String
    formatResults(String methodName, long timeMillis)
     
    private void
     
    static void
    main(String[] args)
     
    protected void
    processOptions(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd)
     
    private void
     

    Methods inherited from class org.apache.hadoop.hbase.util.AbstractHBaseTool

    addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOption, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, getOptionAsInt, getOptionAsLong, getOptionAsLong, newParser, parseArgs, parseInt, parseLong, printUsage, printUsage, processOldArgs, run, setConf

    Methods inherited from class java.lang.Object

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