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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: resourcemanager
    • Labels:
      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

          Issue Links

            Activity

              People

              • Assignee:
                bibinchundatt Bibin A Chundatt
                Reporter:
                bibinchundatt Bibin A Chundatt
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: