[ 
https://issues.apache.org/jira/browse/FLINK-24232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455354#comment-17455354
 ] 

Till Rohrmann commented on FLINK-24232:
---------------------------------------

Hmm, I do see that archiving a suspended job can be helpful for looking at the 
history of a job. Maybe we either need to introduce a notion of job history or 
as a quick fix we don't archive suspended jobs.

> Archiving of suspended jobs prevents breaks subsequent archive attempts
> -----------------------------------------------------------------------
>
>                 Key: FLINK-24232
>                 URL: https://issues.apache.org/jira/browse/FLINK-24232
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.14.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>
> To archive a job we write a file that uses the job ID as the name. Since 
> suspended jobs are handled like other terminal jobs they are also being 
> archived.
> When that job then later resumes any attempt to archive the job on 
> termination will fail because an archive already exists.
> The simplest option is to add a suffix if an archive already exists, like 
> "_1".



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to