Hi Jason,

Thank you for your answer.

As of now I proceed by building Giraph with yarn profile. Next time when I 
launch EMR will try with your suggestion.

Thanks,
Nishant

From: Jason Plurad <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Friday, February 26, 2016 at 10:25 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: Running Giraph application on Yarn

Hi Nishant,

Try adding this either to your mapred-site.xml or your job properties:


# Let the YARN Resource Manager handle the MR2 job (any value other than local 
will do)
mapreduce.jobtracker.address=yarn

-- Jason


On Fri, Feb 19, 2016 at 5:39 AM, Patel, Nishant - Time Inc India 
<[email protected]<mailto:[email protected]>> 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I was running giraph application on MR1 and it was working fine. I moved my 
application from MR1 Yarn and its not working. What changes I need to make for 
running Giraph jon on Yarn?

I am running my job on EMR. One solution I found is that I need to build giraph 
from source code with hadoop_yarn profile.

Currently I add Giraph as maven dependency and it work without any issue. Is 
there any easy way to handle this situation?

I am getting below error.


Exception in thread "main" java.lang.IllegalArgumentException: 
checkLocalJobRunnerConfiguration: When using LocalJobRunner, must have only one 
worker since only 1 task at a time


Thanks,
Nishant



Please be alert for any emails that may ask you for login information or 
directs you to login via a link. If you believe this message is a phish or 
aren't sure whether this message is trustworthy, please send the original 
message as an attachment to 
'[email protected]<mailto:'[email protected]>'.

Reply via email to