[
https://issues.apache.org/jira/browse/YUNIKORN-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299501#comment-17299501
]
Vinod Kumar Vavilapalli commented on YUNIKORN-532:
--------------------------------------------------
Shouldn't the ID be unique? Otherwise logs, metrics etc or any similar post-hoc
analysic will get confusing when an ID is reused.
To facilitate what you were pointing out, usually IDs are generated and unique
but names are allowed to be reused.
> Allow app ID re-use if the app has finished
> -------------------------------------------
>
> Key: YUNIKORN-532
> URL: https://issues.apache.org/jira/browse/YUNIKORN-532
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - common
> Reporter: Wilfred Spiegelenburg
> Priority: Major
> Fix For: 0.10
>
>
> During the design of YUNIKORN-484 we decided to keep all applications, with
> all states in one map for tracking. After an application is Completed it
> cannot transition to any other state, it is a final state.
> This however means that we cannot re-use the application ID. In case we have
> a cron like job that specifies the application ID we might see that same ID
> over a period of time. We currently reject the second instance if the
> Completed application has not timed out yet.
> For cron like job support we should allow the app ID to be re-used if the
> application is in a completed state.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]