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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    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

              Unassigned Unassigned
              bikassaha Bikas Saha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: