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

AM Resources for leaf queues zero when DEFAULT PARTITION resource is zero with NodeLabel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • resourcemanager
    • None

    Description

      In case of leaf queue the AM resource calculation is based on absoluteCapacityResource. Below is the calculation for absolute capacity

      LeafQueue#updateAbsoluteCapacityResource()

        private void updateAbsoluteCapacityResource(Resource clusterResource) {
          absoluteCapacityResource =
              Resources.multiplyAndNormalizeUp(resourceCalculator, labelManager
                  .getResourceByLabel(RMNodeLabelsManager.NO_LABEL, clusterResource),
                  queueCapacities.getAbsoluteCapacity(), minimumAllocation);
        }
      

      If default partition resource is zero for all Leaf queue the resource for AM will be zero

      Snapshot also attached for the same

      Attachments

        1. Am limit for subqueue.jpg
          28 kB
          Bibin Chundatt

        Issue Links

          Activity

            People

              bibinchundatt Bibin Chundatt
              bibinchundatt Bibin Chundatt
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: