[
https://issues.apache.org/jira/browse/YARN-8921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16659240#comment-16659240
]
Hadoop QA commented on YARN-8921:
---------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 4s{color}
| {color:red} YARN-8921 does not apply to trunk. Rebase required? Wrong Branch?
See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | YARN-8921 |
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12945068/YARN-8921.00.patch |
| Console output |
https://builds.apache.org/job/PreCommit-YARN-Build/22276/console |
| Powered by | Apache Yetus 0.8.0 http://yetus.apache.org |
This message was automatically generated.
> SnapshotBasedOverAllocationPolicy always caps the amount of memory availabe
> to 4 GBs
> ------------------------------------------------------------------------------------
>
> Key: YARN-8921
> URL: https://issues.apache.org/jira/browse/YARN-8921
> Project: Hadoop YARN
> Issue Type: Sub-task
> Affects Versions: YARN-1011
> Reporter: Haibo Chen
> Assignee: Haibo Chen
> Priority: Major
> Attachments: YARN-8921.00.patch
>
>
> The memory overallocate threshold is a float, so is
> (overAllocationThresholds.getMemoryThreshold() *
> containersMonitor.getPmemAllocatedForContainers()). Because Math.round(float)
> return an int, this would cap effectively the amount of memory available for
> overallocation to Integer.MAX_VALUE, [see the code at
> here|https://github.com/apache/hadoop/blob/fa864b8744cfdfe613a917ba1bbd859a5b6f70b8/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/scheduler/SnapshotBasedOverAllocationPolicy.java#L45]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]