Paolo Castagna wrote:
> This is a better way:
> 
>   Iterable<String> results = InternalVertexRunner.run(
>     SimpleShortestPathsVertex.class,
>     SimpleShortestPathsVertex.SimpleShortestPathsVertexInputFormat.class,
>     SimpleShortestPathsVertex.SimpleShortestPathsVertexOutputFormat.class,
>     params, graph);
> 
> ... which starts a local ZooKeeper properly.
> 
> However, I still have a question: when I run it in a unit test everything is
> fine. When I run it on a Java main method, it hangs towards the end.

I am using Hadoop 1.0.1, Pig 0.9.2, ZooKeeper 3.4.3 and Giraph from trunk:

[INFO] +- org.apache.hadoop:hadoop-core:jar:1.0.1:compile
...
[INFO] +- org.apache.pig:pig:jar:0.9.2:compile
...
[INFO] +- org.apache.hbase:hbase:jar:0.92.1:compile
...
[INFO] +- org.apache.zookeeper:zookeeper:jar:3.4.3:compile
...
[INFO] +- org.apache.giraph:giraph:jar:0.2-SNAPSHOT:compile


Paolo

Reply via email to