Hi Gaurav,
If you are using Capacity scheduler then try configuring to 
yarn.scheduler.capacity.node-locality-delay to the size of cluster.
By default its set to -1 which make scheduler to assign the container to non 
local nodes

Regards,
Naga
________________________________
From: Gaurav Gupta [gaurav.gopi...@gmail.com]
Sent: Tuesday, March 17, 2015 03:41
To: user@hadoop.apache.org
Subject: YARN ignores host-specific resource requests

Hi,
I am trying to allocate containers on a particular host. But I don't get the 
back the resources.

I am setting relaxedLocality to false and rack to null.

Any pointers?

Thanks
Gaurav

Reply via email to