* 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,