Bikas Saha created YARN-832:
-------------------------------
Summary: 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.1.0-beta
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