hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandy Ryza (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-832) Update Resource javadoc to clarify units for memory
Date Wed, 06 Nov 2013 02:06:18 GMT

     [ 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)

Mime
View raw message