generateTestData();
GraphJob bsp = new GraphJob(configuration, PageRank.class);
bsp.setInputPath(new Path("/tmp/pagerank/real-tmp.seq"));
bsp.setOutputPath(new Path(OUTPUT));
BSPJobClient jobClient = new BSPJobClient(configuration);
configuration.setInt(Constants.ZOOKEEPER_SESSION_TIMEOUT, 6000);
configuration.set("hama.graph.self.ref", "true");
injectVerticesInfo();
ClusterStatus cluster = jobClient.getClusterStatus(false);
assertEquals(this.numOfGroom, cluster.getGroomServers());
LOG.info("Client finishes execution job.");
bsp.setJobName("Pagerank");
bsp.setVertexClass(PageRank.PageRankVertex.class);
// set the defaults