Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-13 Thread Paolo Castagna
Avery Ching wrote: It shouldn't be, your code looks very similar to the unittests (i.e. TestManualCheckpoint.java). So, you're trying to run your test with the local hadoop (similar to the unittests)? Or are you using an actual hadoop setup? Hi Avery, here is a few more details on what I am

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-13 Thread Paolo Castagna
Paolo Castagna wrote: Avery Ching wrote: It shouldn't be, your code looks very similar to the unittests (i.e. TestManualCheckpoint.java). So, you're trying to run your test with the local hadoop (similar to the unittests)? Or are you using an actual hadoop setup? Hi Avery, here is a few

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-13 Thread Paolo Castagna
Paolo Castagna wrote: This is a better way: IterableString results = InternalVertexRunner.run( SimpleShortestPathsVertex.class, SimpleShortestPathsVertex.SimpleShortestPathsVertexInputFormat.class, SimpleShortestPathsVertex.SimpleShortestPathsVertexOutputFormat.class,

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-13 Thread Avery Ching
Hi Paulo, Can you try something for me? I was able to get the PageRankBenchmark to work running in local mode just fine on my side. I think we should have some kind of a helper script (similar to bin/giraph) to running simple tests in LocalJobRunner. I believe that for LocalJobRunner to

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-11 Thread Paolo Castagna
Hi Avery, nope, no luck. I have changed all my log.debug(...) into log.info(...). Same behavior. I have a log4j.properties [1] file in my classpath and it has: log4j.logger.org.apache.jena.grande=DEBUG log4j.logger.org.apache.jena.grande.giraph=DEBUG I also tried to change that to:

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-11 Thread Paolo Castagna
I am using hadoop-core-1.0.1.jar ... could that be a problem? Paolo Paolo Castagna wrote: Hi Avery, nope, no luck. I have changed all my log.debug(...) into log.info(...). Same behavior. I have a log4j.properties [1] file in my classpath and it has:

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-11 Thread Avery Ching
It shouldn't be, your code looks very similar to the unittests (i.e. TestManualCheckpoint.java). So, you're trying to run your test with the local hadoop (similar to the unittests)? Or are you using an actual hadoop setup? Avery On 4/10/12 11:41 PM, Paolo Castagna wrote: I am using

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-11 Thread Paolo Castagna
Avery Ching wrote: It shouldn't be, your code looks very similar to the unittests (i.e. TestManualCheckpoint.java). So, you're trying to run your test with the local hadoop (similar to the unittests)? Or are you using an actual hadoop setup? Hi Avery, while I am learning and writing the

A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-10 Thread Paolo Castagna
Hi, I am still learning Giraph, so, please, be patient with me and forgive my trivial questions. As a simple initial use case, I want to compute the shortest paths from a single source in a social graph in RDF format using the FOAF [1] vocabulary. This example also will hopefully inform

Re: A simple use case: shortest paths on a FOAF (i.e. Friend of a Friend) graph

2012-04-10 Thread Avery Ching
I think the issue might be that Hadoop only logs INFO and above messages by default. Can you retry with INFO level logging? Avery On 4/10/12 12:17 PM, Paolo Castagna wrote: Hi, I am still learning Giraph, so, please, be patient with me and forgive my trivial questions. As a simple initial