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

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • api
    • 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.001.patch
          2 kB
          Sen Zhao
        2. YARN-8701.002.patch
          2 kB
          Sen Zhao
        3. YARN-8701.003.patch
          3 kB
          Sen Zhao
        4. YARN-8701.004.patch
          3 kB
          Sen Zhao

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Sen Zhao Sen Zhao
            Sen Zhao Sen Zhao

            Dates

              Created:
              Updated:

              Slack

                Issue deployment