Package org.apache.hadoop.hdfs.server.balancer.Balancer

Examples of org.apache.hadoop.hdfs.server.balancer.Balancer.NodeTask


    }
  }

  /** Pairs up given nodes in balancing plan */
  private void scheduleTask(Source source, long size, Target target) {
    NodeTask nodeTask = new NodeTask(target, size);
    source.addNodeTask(nodeTask);
    target.addNodeTask(nodeTask);
    sources.add(source);
    targets.add(target);
    LOG.info("scheduled " + size + " bytes : " + source.getName() + " -> " + target.getName());
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.server.balancer.Balancer.NodeTask

Copyright © 2018 www.massapicom. 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.