Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33053

Watcher leak in Zookeeper HA mode

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      We observe a watcher leak in our OLAP stress test when enabling Zookeeper HA mode. TM's watches on the leader of JobMaster has not been stopped after job finished.

      Here is how we re-produce this issue:

      • Start a session cluster and enable Zookeeper HA mode.
      • Continuously and concurrently submit short queries, e.g. WordCount to the cluster.
      • echo -n wchp | nc {zk host} {zk port} to get current watches.

      We can see a lot of watches on /flink/{cluster_name}/leader/{job_id}/connection_info.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            guoyangze Yangze Guo
            guoyangze Yangze Guo
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment