Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E9C7179B5 for ; Tue, 17 Mar 2015 03:48:54 +0000 (UTC) Received: (qmail 42309 invoked by uid 500); 17 Mar 2015 03:48:49 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 42149 invoked by uid 500); 17 Mar 2015 03:48:49 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 42139 invoked by uid 99); 17 Mar 2015 03:48:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 03:48:49 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of garlanaganarasimha@huawei.com designates 119.145.14.65 as permitted sender) Received: from [119.145.14.65] (HELO szxga02-in.huawei.com) (119.145.14.65) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2015 03:48:23 +0000 Received: from 172.24.2.119 (EHLO szxeml431-hub.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CIP11808; Tue, 17 Mar 2015 11:42:01 +0800 (CST) Received: from SZXEML505-MBX.china.huawei.com ([169.254.1.194]) by szxeml431-hub.china.huawei.com ([10.82.67.208]) with mapi id 14.03.0158.001; Tue, 17 Mar 2015 11:41:54 +0800 From: "Naganarasimha G R (Naga)" To: "user@hadoop.apache.org" Subject: RE: YARN ignores host-specific resource requests Thread-Topic: YARN ignores host-specific resource requests Thread-Index: AQHQYDZjhde39WbGikuTaHJhiXLTpp0gB0Jo Date: Tue, 17 Mar 2015 03:41:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.18.148.62] Content-Type: multipart/alternative; boundary="_000_AD354F56741A1B47882A625909A59C692BDCFDFFSZXEML505MBXchi_" MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org --_000_AD354F56741A1B47882A625909A59C692BDCFDFFSZXEML505MBXchi_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 no= n local nodes Regards, Naga ________________________________ From: Gaurav Gupta [gaurav.gopi123@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 th= e back the resources. I am setting relaxedLocality to false and rack to null. Any pointers? Thanks Gaurav --_000_AD354F56741A1B47882A625909A59C692BDCFDFFSZXEML505MBXchi_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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.gopi123@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 g= et the back the resources.

I am setting relaxedLocality to false and rack to null. 

Any pointers?

Thanks
Gaurav
--_000_AD354F56741A1B47882A625909A59C692BDCFDFFSZXEML505MBXchi_--