You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by satyajit ag <sa...@gmail.com> on 2014/06/20 20:29:00 UTC

Issue while trying to run giraph using eclipse IDE.

Hi,

I am new to Giraph, and i am trying to run a sample program from eclipse.

run configuration used:

org.apache.giraph.examples.SimpleShortestPathsVertex -vif
org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat
-vip /user/balu/tiny_graph.txt -of
org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op
/user/balu/shortestpaths -w 1

main class:org.apache.giraph.GiraphRunner

but i am getting the below error:
Exception in thread "main" java.lang.IllegalArgumentException:
checkLocalJobRunnerConfiguration: When using LocalJobRunner, you cannot run
in split master / worker mode since there is only 1 task at a time!
    at
org.apache.giraph.job.GiraphJob.checkLocalJobRunnerConfiguration(GiraphJob.java:159)
    at org.apache.giraph.job.GiraphJob.run(GiraphJob.java:227)
    at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:98)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
    at org.apache.giraph.GiraphRunner.main(GiraphRunner.java:129).


i was able to run from command line, but wanted to run the same from
eclipse.

Could you please help in progressing further,

hadoop daemon process are running when i run in eclipse, not sure if there
is any other way to make sure the giraph framework runs and points to the
hadoop running on the same machine, from eclipse.

Thank you in advance.,
Satyajit.