Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Steps to repro:
- Submit App-01 under namespace “development”
- Which results in creation of “development” queue.
- Now, once the App-01 is complete, delete the namespace.
- Queue “development” is not cleaned up and /v1/queues return the old queue information.
- Now submit App-01 again under different namespace - say “test01"
What is the expected behavior in this case?
- Yunikorn should schedule the app in “test-01” queue?
- or should run the app under old “development” queue, which is no more existing in terms of namespace..
To me, it looks like #1 is accurate and #2 is a bug as the namespace no more exists and its not expected to run under non-existing, un-accounted queue..
This can be a common use case if user or code submits an app with same name under different namespaces.
Currently, Yunikorn considers app name while generating appID, suggestion is to consider namespace as well while generating the appID along with app name. In that case, every app is uniquely identified!
This Jira can be used to discuss and brainstorm different approaches on how to address this issue.
Attachments
1.
|
Allow app ID re-use if the app has finished | Closed | Unassigned |