By the way, I have set the corresponding classes in the giraph configuration.

    GiraphConfiguration giraphConf = new GiraphConfiguration(config);

    giraphConf.setZooKeeperConfiguration(
            zooKeeperWatcher.getQuorum());
    giraphConf.setComputationClass(LinkRankComputation.class);
giraphConf.setMasterComputeClass(LinkRankVertexMasterCompute.class);
    giraphConf.setOutEdgesClass(ByteArrayEdges.class);
giraphConf.setVertexInputFormatClass(NutchTableEdgeInputFormat.class);
giraphConf.setVertexOutputFormatClass(NutchTableEdgeOutputFormat.class);
    giraphConf.setInt("giraph.pageRank.superstepCount", 40);
    giraphConf.setWorkerConfiguration(1, 1, 100.0f);
    giraphConf.set(TableInputFormat.INPUT_TABLE, TABLE_NAME);
    giraphConf.set(TableOutputFormat.OUTPUT_TABLE, TABLE_NAME);

Reply via email to