Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B5A7179A7 for ; Mon, 23 Mar 2015 13:34:47 +0000 (UTC) Received: (qmail 4562 invoked by uid 500); 23 Mar 2015 13:34:47 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 4509 invoked by uid 500); 23 Mar 2015 13:34:47 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 4499 invoked by uid 99); 23 Mar 2015 13:34:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 13:34:47 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [74.125.149.75] (HELO na3sys009aog105.obsmtp.com) (74.125.149.75) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 13:34:20 +0000 Received: from mail-wg0-f43.google.com ([74.125.82.43]) (using TLSv1) by na3sys009aob105.postini.com ([74.125.148.12]) with SMTP ID DSNKVRAWDK58IEala5snL1/T2xHLno3/6J4q@postini.com; Mon, 23 Mar 2015 06:34:18 PDT Received: by wgbcc7 with SMTP id cc7so145974978wgb.0 for ; Mon, 23 Mar 2015 06:32:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=5nu0QneMwTdWq74/sICWzhlGtMoF4EjV7tEHp/0hYiU=; b=gHQjWEDD5WeU0d7b3dw7PSoFrLIgcuhSrORNVnOoTVphwHqyO2tEf/1YOMbcx9OrH8 5NStbHOmoQuEN6R5du2CADKxvoXVKnDeFGZeugbzXrLV5YkwZfaTdIELUWs5uhPZkTxK RjCj0Acyct1lXJ1yegdinUy750RqZch0CyW3OtzGXb/d+xeJxzWOZUuRxkcJdxImCafs CgI0VfYVa3aKTEGl1+emLrvOFhUj8xILX7biJuAo+rk4jaiqNGMlmG3w/E+3yTjk9oJr MH/VQMvX9c9CUFTNXMawqeTs6wmS0pxkaBEqwTAjxFnxl8AFPpBUVq+946Ke8Sze7i90 ryGA== X-Received: by 10.194.19.10 with SMTP id a10mr188836914wje.153.1427117219574; Mon, 23 Mar 2015 06:26:59 -0700 (PDT) X-Gm-Message-State: ALoCoQluJQR3Ln0C/lb9jNuKuCkW+cUIUcvhWql07cqtdb0ZXVqshFcfItTpxzmrXCgrK/Qrt505ca9cYrm3mpC5j7qBRzAAjc4ztth24HoMR8Tuu1CFNKNOiQPjSQzqN89qhHe4eS5lzTYJGFGe9i7/RVsw3lvUkg== X-Received: by 10.194.19.10 with SMTP id a10mr188836888wje.153.1427117219356; Mon, 23 Mar 2015 06:26:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.27.21.193 with HTTP; Mon, 23 Mar 2015 06:26:39 -0700 (PDT) In-Reply-To: References: From: Steven Harenberg Date: Mon, 23 Mar 2015 09:26:39 -0400 Message-ID: Subject: Re: Giraph 1.1.0 not running on full cluster with Hadoop 2.6.0 To: user Content-Type: multipart/alternative; boundary=047d7b5d4808e9b74a0511f49e44 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d4808e9b74a0511f49e44 Content-Type: text/plain; charset=UTF-8 Try adding this option: -ca giraph.SplitMasterWorker=false --Steve On Sun, Mar 22, 2015 at 4:28 PM, Kenrick Fernandes wrote: > Hi, > > I am working with Giraph 1.1.0 and a YARN cluster with Hadoop 2.6.0. > I build Giraph with > mvn -Phadoop_2 -Dhadoop.version=2.6.0 clean package -DskipTests > > So far, when I run any of the benchmarks or Shortest path examples, I > always get the LocalJobRunner 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:168) > at org.apache.giraph.job.GiraphJob.run(GiraphJob.java:236) > at org.apache.giraph.benchmark.GiraphBenchmark.run(GiraphBenchmark.java:96) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > at > org.apache.giraph.benchmark.PageRankBenchmark.main(PageRankBenchmark.java:158) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.hadoop.util.RunJar.run(RunJar.java:221) > at org.apache.hadoop.util.RunJar.main(RunJar.java:136) > ------------------------------------------------------------------- > > I have tried some solutions from forums/StackOverflow/lists, but so far > nothing has worked. As far as I can tell, Hadoop is configured right (other > MR benchmarks run fine). I tried changing the above Giraph code file > (making the check function returned what I wanted), but that only starts > the Job and gets it running on a single machine - it never uses more than 1 > machine. > > Any help or pointers in the right direction would be much appreciated. > > Thanks, > Kenrick > --047d7b5d4808e9b74a0511f49e44 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Try adding this option: -ca giraph.SplitMasterWorker= =3Dfalse

--Steve

On Sun, Mar 22, 2015 at 4:28 PM, Kenrick Fernandes <kenrick.f15@gmail.com> wrote:
Hi,

I am working with Giraph 1.1.= 0 and a YARN cluster with Hadoop 2.6.0.
I build Giraph with=C2=A0=
=C2=A0 =C2=A0 =C2=A0mvn -Phadoop_2 -Dhadoop.version=3D2.6.0 clean package -DskipTests

So far, when I run any o= f the benchmarks or Shortest path examples, I always get the LocalJobRunner= 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!
<= div> at org.apache.giraph.job.G= iraphJob.checkLocalJobRunnerConfiguration(GiraphJob.java:168)
at org.apache.giraph.job.GiraphJo= b.run(GiraphJob.java:236)
<= /span>at org.apache.giraph.benchmark.GiraphBenchmark.run(GiraphBenchmark.ja= va:96)
at org.apache= .hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRu= nner.java:84)
at org= .apache.giraph.benchmark.PageRankBenchmark.main(PageRankBenchmark.java:158)=
at sun.reflect.Nati= veMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Nati= veMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth= odAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.run(Ru= nJar.java:221)
at or= g.apache.hadoop.util.RunJar.main(RunJar.java:136)
---------= ----------------------------------------------------------

I have tried some solutions from forums/StackOverflow/lists, but s= o far nothing has worked. As far as I can tell, Hadoop is configured right = (other MR benchmarks run fine). I tried changing the above Giraph code file= (making the check function returned what I wanted), but that only starts t= he Job and gets it running on a single machine - it never uses more than 1 = machine.=C2=A0

Any help or pointers in the right d= irection would be much appreciated.

Thanks,
Ken= rick=C2=A0

--047d7b5d4808e9b74a0511f49e44--