[
https://issues.apache.org/jira/browse/YUNIKORN-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko updated YUNIKORN-3125:
-----------------------------------
Description:
When we update a foreign pod, we don't log the pod name, only the allocation ID:
{noformat}
log.Log(log.SchedPartition).Info("handling new foreign
allocation",
zap.String("partitionName", pc.Name),
zap.String("nodeID", nodeID),
zap.String("allocationKey", allocationKey))
{noformat}
{noformat}
log.Log(log.SchedPartition).Info("handling foreign allocation update",
zap.String("partitionName", pc.Name),
zap.String("appID", applicationID),
zap.String("allocationKey", allocationKey))
{noformat}
To enhance supportability, it's reasonable to display the allocation name and
how much resource it uses.
was:
When we update a foreign pod, we don't log the pod name, only the allocation ID:
{noformat}
log.Log(log.SchedPartition).Info("handling new foreign
allocation",
zap.String("partitionName", pc.Name),
zap.String("nodeID", nodeID),
zap.String("allocationKey", allocationKey))
{noformat}
{noformat}
log.Log(log.SchedPartition).Info("handling foreign allocation update",
zap.String("partitionName", pc.Name),
zap.String("appID", applicationID),
zap.String("allocationKey", allocationKey))
{noformat}
To enhance supportability, it's reasonable to display the allocation name.
> Show allocation (pod) name and resource usage in the core when handling
> non-YK pods
> -----------------------------------------------------------------------------------
>
> Key: YUNIKORN-3125
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3125
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - scheduler
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
>
> When we update a foreign pod, we don't log the pod name, only the allocation
> ID:
> {noformat}
> log.Log(log.SchedPartition).Info("handling new foreign
> allocation",
> zap.String("partitionName", pc.Name),
> zap.String("nodeID", nodeID),
> zap.String("allocationKey", allocationKey))
> {noformat}
> {noformat}
> log.Log(log.SchedPartition).Info("handling foreign allocation update",
> zap.String("partitionName", pc.Name),
> zap.String("appID", applicationID),
> zap.String("allocationKey", allocationKey))
> {noformat}
> To enhance supportability, it's reasonable to display the allocation name and
> how much resource it uses.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]