configuration.setInt("hama.graph.multi.step.partitioning.interval", 30);
GraphJob bsp = new GraphJob(configuration, PageRank.class);
bsp.setInputPath(new Path(INPUT));
bsp.setOutputPath(new Path(OUTPUT));
BSPJobClient jobClient = new BSPJobClient(configuration);
configuration.setInt(Constants.ZOOKEEPER_SESSION_TIMEOUT, 6000);
ClusterStatus cluster = jobClient.getClusterStatus(false);
assertEquals(this.numOfGroom, cluster.getGroomServers());
bsp.setNumBspTask(2);
LOG.info("Client finishes execution job.");
bsp.setJobName("Pagerank");
bsp.setVertexClass(PageRank.PageRankVertex.class);