Examples of BalancerMetrics


Examples of org.apache.hadoop.hdfs.server.balancer.metrics.BalancerMetrics

   * namenode as a client and a secondary namenode and retry proxies
   * when connection fails.
   */
  private void init(InetSocketAddress namenodeAddress) throws IOException {
    this.namenodeAddress = namenodeAddress;
    this.myMetrics = new BalancerMetrics(conf, namenodeAddress);
    this.fetchBlocksSize = conf.getLong(BalancerConfigKeys.DFS_BALANCER_FETCH_SIZE_KEY,
        BalancerConfigKeys.DFS_BALANCER_FETCH_SIZE_DEFAULT);
    this.minBlockReplicas = conf.getInt(BalancerConfigKeys.DFS_BALANCER_MIN_REPLICAS_KEY,
        BalancerConfigKeys.DFS_BALANCER_MIN_REPLICAS_DEFAULT);
    this.maxFetchCount = conf.getInt(BalancerConfigKeys.DFS_BALANCER_FETCH_COUNT_KEY,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.