Hi, I submitted a patch for this some time ago at https://issues.apache.org/jira/browse/GIRAPH-811
It should fix your problem, hopefully. Regards, Alexandre On 20 Dec 2013 23:42, "Rohit Bhat" <rohitbhat.n...@gmail.com> wrote: > Hi Alexandre, > > I had made the suggested change in mapred-site.xml and now the job atleast > seems to start but it does not complete. > > I am trying out the SimpleShortestPathsComputation example. It remains in > the running state and the following message is displayed on stdout: > > 13/12/20 14:39:32 INFO yarn.GiraphYarnClient: Giraph: > org.apache.giraph.examples.SimpleShortestPathsComputation, Elapsed: 514.07 > secs > 13/12/20 14:39:32 INFO yarn.GiraphYarnClient: > appattempt_1387571436273_0001_000001, State: RUNNING, Containers used: 2 > > In the log file i see this message: > > 2013-12-20 14:31:10,891 INFO [org.apache.giraph.master.MasterThread] > master.BspServiceMaster (BspServiceMaster.java:cleanUpZooKeeper(1711)) - > cleanUpZooKeeper: Node > /_hadoopBsp/giraph_yarn_application_1387571436273_0001/_cleanedUpDir a$ > 2013-12-20 14:31:10,900 INFO [org.apache.giraph.master.MasterThread] > master.BspServiceMaster (BspServiceMaster.java:cleanUpZooKeeper(1735)) - > cleanUpZooKeeper: Got 2 of 1 desired children from > /_hadoopBsp/giraph_yarn_application_138757$ > $7571436273_0001/_cleanedUpDir to change since only got 2 nodes. > > Any reason why this is happening? > > Thanks, > Rohit > > > On Mon, Dec 9, 2013 at 3:45 PM, Alexandre Fonseca < > alexandrejorgefons...@gmail.com> wrote: > >> I have confirmed a bug in Giraph's YARN code related to the default >> MapReduce >> configuration. Either provide your own mapreduce.application.classpath in >> mapred-site.xml or apply the patch described here: >> https://issues.apache.org/jira/browse/GIRAPH-814 >> >> Application runs successfully if using custom >> mapreduce.application.classpath >> or no default mapreduce.application.classpath + patch. Application fails >> if >> using default mapreduce.application.classpath and no patch. >> >> Cheers, >> Alex >> >> On Monday 09 December 2013 22:05:20 Alexandre Fonseca wrote: >> > mapreduce.application.classpath >> > >