giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arghya Kusum Das <arghyakusumdas2...@gmail.com>
Subject Re: Problem in running SSSP on hadoop-0.23.10 (insisting use LocalJob)
Date Wed, 24 Sep 2014 15:24:49 GMT
Yes...it is set properly.... Still this error....

On Wed, Sep 24, 2014 at 9:33 AM, xuhong zhang <xuhongnever@gmail.com> wrote:

> Make sure set this value in your mapred-site.xml
>
> <property>
>     <name>mapred.job.tracker</name>
>     <value>***********************</value>
>     <description>jobtracker's address</description>
>   </property>
>
> On Wed, Sep 24, 2014 at 12:07 AM, Arghya Kusum Das <
> arghyakusumdas2266@gmail.com> wrote:
>
> > Hi,
> >
> > I was trying to run the giraph  simple shortest path example (that comes
> > with giraph package) on 3 nodes (1 namenode and 2 datanodes)
> hadoop-0.23.10
> > cluster. I used 7 mappers and 7 reducers run simultaneously at each node
> in
> > mapred-site.xml.
> >
> > The command I typed:
> > $HADOOP_HOME/bin/hadoop jar
> >
> >
> /usr/local/giraph-1.1.0/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-0.23.1-jar-with-dependencies.jar
> > org.apache.giraph.GiraphRunner
> > org.apache.giraph.examples.SimpleShortestPathsComputation -vif
> > org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat
> > -vip /user/hduser/input/tiny_graph.txt -of
> > org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op
> > /output/shortestpaths *-w 12*
> >
> > When I ran with  12 workers (-w 12) the error was :
> > 'Exception in thread "main" java.lang.IllegalArgumentException:
> > checkLocalJobRunnerConfiguration: When using LocalJobRunner, must have
> only
> > one worker since only 1 task at a time!'
> >
> > When I change it to 1 (-w 1) the error was:
> > '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!'
> >
> > What am I missing?
> >
> > --
> > Thanks and regards,
> > Arghya Kusum Das
> > (225-362-4031)
> >
>
>
>
> --
> Xuhong Zhang
>



-- 
Thanks and regards,
Arghya Kusum Das
(225-362-4031)

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