giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satyajit ag <satyajit.apac...@gmail.com>
Subject Issue while trying to run giraph using eclipse IDE.
Date Fri, 20 Jun 2014 18:29:00 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message