XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • YARN-1011
    • YARN-1011
    • None
    • None
    • Reviewed

    Description

      The ResourceUtilization javadoc mistakenly documents the cpu as a percentage represented by a float number in [0, 1.0f], however it is used as the # of vcores used in reality.

      See javadoc and discussion in YARN-8911.
        /**
         * Get <em>CPU</em> utilization.
         *
         * @return <em>CPU utilization</em> normalized to 1 CPU
         */
        @Public
        @Unstable
        public abstract float getCPU();

      Attachments

        1. YARN-8932-YARN-1011.00.patch
          50 kB
          Haibo Chen
        2. YARN-8932-YARN-1011.01.patch
          61 kB
          Haibo Chen
        3. YARN-8932-YARN-1011.02.patch
          65 kB
          Haibo Chen

        Issue Links

          Activity

            People

              haibochen Haibo Chen
              haibochen Haibo Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: