Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E7AD511103 for ; Thu, 11 Sep 2014 03:40:34 +0000 (UTC) Received: (qmail 65661 invoked by uid 500); 11 Sep 2014 03:40:34 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 65617 invoked by uid 500); 11 Sep 2014 03:40:34 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 65606 invoked by uid 99); 11 Sep 2014 03:40:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 03:40:34 +0000 Date: Thu, 11 Sep 2014 03:40:33 +0000 (UTC) From: "zhihai xu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-2534) FairScheduler: totalMaxShare is not calculated correctly in computeSharesInternal MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zhihai xu updated YARN-2534: ---------------------------- Attachment: YARN-2534.000.patch > FairScheduler: totalMaxShare is not calculated correctly in computeSharesInternal > --------------------------------------------------------------------------------- > > Key: YARN-2534 > URL: https://issues.apache.org/jira/browse/YARN-2534 > Project: Hadoop YARN > Issue Type: Bug > Components: scheduler > Affects Versions: 2.5.0 > Reporter: zhihai xu > Assignee: zhihai xu > Fix For: 2.6.0 > > Attachments: YARN-2534.000.patch > > > FairScheduler: totalMaxShare is not calculated correctly in computeSharesInternal for some cases. > If the sum of MAX share of all Schedulables is more than Integer.MAX_VALUE ,but each individual MAX share is not equal to Integer.MAX_VALUE. then totalMaxShare will be a negative value, which will cause all fairShare are wrongly calculated. -- This message was sent by Atlassian JIRA (v6.3.4#6332)