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

Sandy Ryza updated YARN-832:
----------------------------

    Labels: newbie  (was: )
    
> 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
>             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

Reply via email to