Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-386 [Umbrella] YARN API Changes
  3. YARN-832

Update Resource javadoc to clarify units for memory

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Target Version/s:

      Description

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

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bikassaha Bikas Saha

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment