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 "Arun C Murthy (JIRA)" <ji...@apache.org> on 2013/08/27 23:40:21 UTC

[jira] [Updated] (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 ]

Arun C Murthy updated YARN-832:
-------------------------------

    Fix Version/s:     (was: 2.1.0-beta)
                   2.3.0
    
> 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
>             Fix For: 2.3.0
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira