You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Siddharth Ahuja (JIRA)" <ji...@apache.org> on 2019/03/06 09:19:00 UTC
[jira] [Commented] (YARN-6442) Inaccurate javadoc in
NodeManagerHardwareUtils.getContainerMemoryMB
[ https://issues.apache.org/jira/browse/YARN-6442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785437#comment-16785437 ]
Siddharth Ahuja commented on YARN-6442:
---------------------------------------
Hi there, can someone kindly assign this Jira to me please? Thanks in advance!
> Inaccurate javadoc in NodeManagerHardwareUtils.getContainerMemoryMB
> -------------------------------------------------------------------
>
> Key: YARN-6442
> URL: https://issues.apache.org/jira/browse/YARN-6442
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Miklos Szegedi
> Priority: Minor
> Labels: newbie
>
> NodeManagerHardwareUtils.getContainerMemoryMB has the following javadoc:
> {code}
> "If the OS has a
> * ResourceCalculatorPlugin implemented, the calculation is 0.8 * (RAM - 2 *
> * JVM-memory) i.e. use 80% of the memory after accounting for memory used by
> * the DataNode and the NodeManager. If the number is less than 1GB, log a
> * warning message."
> {code}
> I think the accurate expression is 0.8*(RAM-2*JVM)-systemreserved. I also do not see the 1GB cap in the code.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org