[ 
https://issues.apache.org/jira/browse/YARN-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197959#comment-15197959
 ] 

Arun Suresh commented on YARN-4829:
-----------------------------------

bq. ..ones in the IEC standard. It's also the format used by Kubernetes...
Ah !!.. Makes sense..

Also, Since we are introducing *Mi* here, the following should be fixed as well 
:
* In {{ResourceInformation}}, the static final {{MEMORY_MB}} field should be 
initialized to {{ResourceInformation.newInstance(MEMORY_URI, "Mi");}}
* In {{ResourcePBImpl#getMemory}}, the argument to {{convert()}} should be 
*Mi*, not *M*




> Add support for binary units
> ----------------------------
>
>                 Key: YARN-4829
>                 URL: https://issues.apache.org/jira/browse/YARN-4829
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: YARN-4829-YARN-3926.001.patch, 
> YARN-4829-YARN-3926.002.patch
>
>
> The units conversion util should have support for binary units.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to