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

Write testcase for FSLeafQueue that explicitly checks if non-zero AM-share values are not overwritten for custom resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • fairscheduler
    • None

    Description

      This is a follow-up for YARN-9323, covering changes regarding explicit zero value check that has been discussed with templedf earlier.
      YARN-9323 fixed a bug in FSLeafQueue#computeMaxAMResource, so that custom resource values are also set to the AM share.
      We need a new test in TestFSLeafQueue that explicitly checks if the custom resource value is only being set if the fairshare for that resource is zero.
      This way, we can make sure we don't overwrite any meaningful resource value.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              snemeth Szilard Nemeth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: