Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8701

If the single parameter in Resources#createResourceWithSameValue is greater than Integer.MAX_VALUE, then the value of vcores will be -1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: api
    • Labels:
      None

      Description

      If I configure MaxResources in fair-scheduler.xml, like this:

      <MaxResources>resource1=50</MaxResources>

      In the queue, the MaxResources value will change to

      Max Resources: <memory: CLUSTER_MEMORY, VCores: 0, resource1: 50>

      I think the value of VCores should be CLUSTER_VCORES.

        Attachments

        1. YARN-8701.004.patch
          3 kB
          Sen Zhao
        2. YARN-8701.003.patch
          3 kB
          Sen Zhao
        3. YARN-8701.002.patch
          2 kB
          Sen Zhao
        4. YARN-8701.001.patch
          2 kB
          Sen Zhao

          Issue Links

            Activity

              People

              • Assignee:
                Sen Zhao Sen Zhao
                Reporter:
                Sen Zhao Sen Zhao
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: