-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YUNIKORN-2052] Logging Enhancement for Preemption #678
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. Minor nit.
pkg/scheduler/objects/preemption.go
Outdated
zap.Stringer("resources", victim.GetAllocatedResource()), | ||
zap.String("askApplicationID", p.ask.applicationID), | ||
zap.String("askAllocationKey", p.ask.allocationKey), | ||
zap.String("askQueue", p.ask.String()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of p.ask.String(), it should be p.queue.
Codecov Report
@@ Coverage Diff @@
## master #678 +/- ##
=======================================
Coverage 77.69% 77.70%
=======================================
Files 79 79
Lines 13089 13095 +6
=======================================
+ Hits 10170 10175 +5
- Misses 2594 2595 +1
Partials 325 325
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@wilfred-s Do you have anymore comments? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Logging Enhancement for Preemption Logs
Newly Added fields in the Preemption Logs
Also, rename a few of the existing output items:
What type of PR is it?
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2052