[ 
https://issues.apache.org/jira/browse/YUNIKORN-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manikandan R resolved YUNIKORN-2052.
------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed

> Log additional information on preemption
> ----------------------------------------
>
>                 Key: YUNIKORN-2052
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2052
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler
>            Reporter: Craig Condit
>            Assignee: Rajesh Kanhaiya Lal
>            Priority: Major
>              Labels: newbie, pull-request-available
>             Fix For: 1.4.0
>
>
> Currently, when we preempt tasks, we log some information about the victim:
> {code:java}
> // SOURCE: pkg/scheduler/objects/preemption.go
> log.Log(log.SchedPreemption).Info("Preempting task",
>     zap.String("applicationID", victim.GetApplicationID()),
>     zap.String("allocationKey", victim.GetAllocationKey()),
>     zap.String("nodeID", victim.GetNodeID()),
>     zap.Stringer("resources", victim.GetAllocatedResource()))
> {code}
> We should log some additional information to make it easier to correlate the 
> preemption with the ask that triggered it:
>  - applicationID of ask => "askApplicationID"
>  - allocationKey of ask => "askAllocationKey"
>  - queue of ask => "askQueue"
>  - queue of victim => "victimQueue"
> For clarity we should also rename a few of the existing output items:
>  - "applicationID" => "victimApplicationID"
>  - "allocationKey" => "victimAllocationKey"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@yunikorn.apache.org
For additional commands, e-mail: dev-h...@yunikorn.apache.org

Reply via email to