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

Yang Wang commented on FLINK-26336:
-----------------------------------

Aha, I think you mean session cluster. Flink could not support session cluster 
graceful shutdown, which will clean up all the HA data. See FLINK-20219.

 

I am not sure whether we could or should cancel all the jobs in the session 
cluster when the session needs to be deleted.

> Deletion should remove HA related configmaps also
> -------------------------------------------------
>
>                 Key: FLINK-26336
>                 URL: https://issues.apache.org/jira/browse/FLINK-26336
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Kubernetes Operator
>            Reporter: Gyula Fora
>            Priority: Critical
>
> At the moment the deletion logic simply deletes the Flink job deployment.
> As [~wangyang0918] correctly pointed out in another ticket, deployment 
> deletion does not remove HA related configmaps (this is intentional from 
> Flink side)
> This means if the user were to resubmit a new FlinkDeployment under the same 
> name, the job would pick up the HA state and the last checkpoint from the 
> delete resource. This is probably unexpected and we should delete the 
> configmaps after deleting the deployment.



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

Reply via email to