You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2021/01/08 10:15:00 UTC

[jira] [Updated] (FLINK-20695) Zookeeper node under leader and leaderlatch is not deleted after job finished

     [ https://issues.apache.org/jira/browse/FLINK-20695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Nowojski updated FLINK-20695:
-----------------------------------
    Component/s:     (was: Runtime / Task)
                 Runtime / Coordination

> Zookeeper node under leader and leaderlatch is not deleted after job finished
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-20695
>                 URL: https://issues.apache.org/jira/browse/FLINK-20695
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination
>    Affects Versions: 1.9.0, 1.12.0, 1.11.3, 1.13.0
>            Reporter: lidesheng
>            Priority: Major
>
> I used flink 1.11 in standalone cluster mode for batch job. The enviornment was configured as zookeeper HA mode.
> After job was commited, flink runtime created nodes under /flink/default/leader and /flink/default/leaderlatch with job id.  Though jobs were finished, these nodes  were remaining in zookeeper path forever. 
> After a period of running, more and more jobs had been executed and there were a greate number of nodes under /flink/default/leader and slowed down the performance of zookeeper. Why not delete the nodes after job finished? Flink runtime could get job status by listeners and delete the leader nodes for job immidiately.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)