Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8A24B2009F9 for ; Mon, 23 May 2016 23:30:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88ADB160A0E; Mon, 23 May 2016 21:30:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D3677160A05 for ; Mon, 23 May 2016 23:30:13 +0200 (CEST) Received: (qmail 82446 invoked by uid 500); 23 May 2016 21:30:13 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 82427 invoked by uid 99); 23 May 2016 21:30:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 May 2016 21:30:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DDE332C1F5C for ; Mon, 23 May 2016 21:30:12 +0000 (UTC) Date: Mon, 23 May 2016 21:30:12 +0000 (UTC) From: "Karthik Kambatla (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-4979) FSAppAttempt demand calculation considers demands at multiple locality levels different MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 23 May 2016 21:30:14 -0000 [ https://issues.apache.org/jira/browse/YARN-4979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karthik Kambatla updated YARN-4979: ----------------------------------- Summary: FSAppAttempt demand calculation considers demands at multiple locality levels different (was: FSAppAttempt adds duplicate ResourceRequest to demand in updateDemand.) > FSAppAttempt demand calculation considers demands at multiple locality levels different > --------------------------------------------------------------------------------------- > > Key: YARN-4979 > URL: https://issues.apache.org/jira/browse/YARN-4979 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler > Affects Versions: 2.8.0, 2.7.2 > Reporter: zhihai xu > Assignee: zhihai xu > Attachments: YARN-4979.001.patch > > > FSAppAttempt adds duplicate ResourceRequest to demand in updateDemand. We should only count ResourceRequest for ResourceRequest.ANY when calculate demand. > Because {{hasContainerForNode}} will return false if no container request for ResourceRequest.ANY and both {{allocateNodeLocal}} and {{allocateRackLocal}} will also decrease the number of containers for ResourceRequest.ANY. > This issue may cause current memory demand overflow(integer) because duplicate requests can be on multiple nodes. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org