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 "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/06/17 01:22:20 UTC

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

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