[
https://issues.apache.org/jira/browse/FLINK-11336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16745020#comment-16745020
]
Stephan Ewen commented on FLINK-11336:
--------------------------------------
Flink should remove the metadata when the job terminates, which means
- finished (for batch and bounded streams)
- failed with no further retries
- cancelled
It does not remove the metadata if you just kill the YARN application or stop
all containers. In that case Flink does not know that this was not a failure,
but an intended shutdown.
Can you confirm that this was a proper termination (as described above).
If yes, which way did you start the Flink job?
> Flink HA didn't remove ZK metadata
> ----------------------------------
>
> Key: FLINK-11336
> URL: https://issues.apache.org/jira/browse/FLINK-11336
> Project: Flink
> Issue Type: Improvement
> Reporter: shengjk1
> Priority: Major
> Attachments: image-2019-01-15-19-42-21-902.png
>
>
> Flink HA didn't remove ZK metadata
> such as
> go to zk cli : ls /flinkone
> !image-2019-01-15-19-42-21-902.png!
>
> i suggest we should delete this metadata when the application cancel or
> throw exception
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)