You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Sandy Ryza (JIRA)" <ji...@apache.org> on 2013/11/06 03:06:18 UTC

[jira] [Resolved] (YARN-832) Update Resource javadoc to clarify units for memory

     [ https://issues.apache.org/jira/browse/YARN-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandy Ryza resolved YARN-832.
-----------------------------

    Resolution: Duplicate

This was fixed in YARN-976

> Update Resource javadoc to clarify units for memory
> ---------------------------------------------------
>
>                 Key: YARN-832
>                 URL: https://issues.apache.org/jira/browse/YARN-832
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Bikas Saha
>              Labels: newbie
>
> These values are supposed to be megabytes (need to check MB vs MiB ie 1000 vs 1024)
>   /**
>    * Get <em>memory</em> of the resource.
>    * @return <em>memory</em> of the resource
>    */
>   @Public
>   @Stable
>   public abstract int getMemory();
>   
>   /**
>    * Set <em>memory</em> of the resource.
>    * @param memory <em>memory</em> of the resource
>    */
>   @Public
>   @Stable
>   public abstract void setMemory(int memory);



--
This message was sent by Atlassian JIRA
(v6.1#6144)