-
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-2991] The queue in Draining state does not accept new applications #1002
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1002 +/- ##
==========================================
+ Coverage 81.57% 82.35% +0.78%
==========================================
Files 97 97
Lines 15656 15635 -21
==========================================
+ Hits 12771 12876 +105
+ Misses 2601 2479 -122
+ Partials 284 280 -4 ☔ View full report in Codecov by Sentry. |
See my comment in the jira, can we investigate doing the check in the AppPlacementManager? |
…ew applications" This reverts commit 8ab3e65.
7754387
to
f3d2d18
Compare
I think that is a problem on the shim side. When I look at the processing of the rejection there it does this:
It skips the rejected state and goes to failed. That is something we can follow up separately. I think the code change beside the two nits on the core side is looking good now. |
Okay, we can optimize it in shim when we have time. |
What is this PR for?
When the queue is in the Drafting state, new applications are still allowed to be scheduled after submission.
I think we should refuse.
What type of PR is it?
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-2991
How should this be tested?
Unit tests included