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" }));
}