pbacsko commented on code in PR #1032:
URL: https://github.com/apache/yunikorn-core/pull/1032#discussion_r2435931910


##########
pkg/scheduler/objects/application.go:
##########
@@ -1404,6 +1408,15 @@ func (sa *Application) tryRequiredNodePreemption(reserve 
*reservation, ask *Allo
        }
        ask.LogAllocationFailure(common.NoVictimForRequiredNode, true)
        ask.SendRequiredNodePreemptionFailedEvent(reserve.node.NodeID)
+       getRateLimitedReqNodeLog().Info("no victim found for required node 
preemption",
+               zap.String("allocation key", ask.GetAllocationKey()),
+               zap.String("allocation name", ask.GetAllocationName()),
+               zap.String("node", reserve.nodeID),

Review Comment:
   Done



##########
pkg/scheduler/objects/required_node_preemptor.go:
##########
@@ -61,8 +80,12 @@ func (p *PreemptionContext) filterAllocations() {
                }
                if includeAllocation {
                        p.allocations = append(p.allocations, allocation)
+               } else {
+                       result.resourceNotEnough++

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to