[ https://issues.apache.org/jira/browse/YARN-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik Kambatla updated YARN-2534: ----------------------------------- Summary: FairScheduler: Potential integer overflow calculating totalMaxShare (was: FairScheduler: totalMaxShare is not calculated correctly in computeSharesInternal) > FairScheduler: Potential integer overflow calculating totalMaxShare > ------------------------------------------------------------------- > > 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 > 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)