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

Examples of org.apache.hadoop.hdfs.server.balancer.AvatarBalancer


  private static void runBalancer() throws Exception {
    Configuration bconf = new Configuration(conf);
    bconf.setClass("fs.hdfs.impl", DistributedAvatarFileSystem.class,
        FileSystem.class);
    Balancer b = new AvatarBalancer(bconf);
    assertEquals(0, b.run(new String[] { "-threshold", "1" }));
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hdfs.server.balancer.AvatarBalancer

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.