Skip to content

Commit

Permalink
YARN-11660. Fix performance regression for SingleConstraintAppPlaceme…
Browse files Browse the repository at this point in the history
…ntAllocator
  • Loading branch information
zuston committed Mar 12, 2024
1 parent dbf08c8 commit 4eba785
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ private void decreasePendingNumAllocation() {
// Deduct pending #allocations by 1
ResourceSizing sizing = schedulingRequest.getResourceSizing();
sizing.setNumAllocations(sizing.getNumAllocations() - 1);

appSchedulingInfo.decPendingResource(
targetNodePartition,
sizing.getResources());
}

@Override
Expand Down

0 comments on commit 4eba785

Please sign in to comment.