giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Kumar <toga...@gmail.com>
Subject Issue in running giraph example in hadoop2.2
Date Sun, 23 Feb 2014 06:19:33 GMT
While running Giraph over Hadoop 2.2 I am getting the below exception





14/02/20 04:52:44 INFO Configuration.deprecation: mapred.job.tracker is
deprecated. Instead, use mapreduce.jobtracker.address

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:157)

                at org.apache.giraph.job.GiraphJob.run(GiraphJob.java:225)

                at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:94)

                at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)

                at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)

                at
org.apache.giraph.GiraphRunner.main(GiraphRunner.java:124)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

                at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.apache.hadoop.util.RunJar.main(RunJar.java:212)





One of the solution found in the archive was to modify
/directory-to-hadoop/conf/mapred-site.xml with:



<property>

  <name>mapred.tasktracker.map.tasks.maximum</name>

  <value>4</value>

</property>



<property>

  <name>mapred.map.tasks</name>

  <value>4</value>

</property>



But in my case it did not work..


Can somebody help?


Regards

-Arun

Mime
View raw message