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

Flink elasticsearch connector leaks threads and classloaders thereof

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0, 1.10.1
    • 1.10.2
    • None

    Description

      Flink elasticsearch connector leaking threads and classloaders thereof.  This results in OOM Metaspace when ES sink fails and restarted many times. 

      This issue is visible in Flink 1.10 but not in 1.11 because Flink 1.11 does not create new class loaders in case of recoveries (FLINK-16408)

       

      Reproduction:

      • Start a job with ES sink in a Flink 1.10 cluster, without starting the ES cluster.

       

       

      Attachments

        Activity

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

          People

            qinjunjerry Jun Qin
            qinjunjerry Jun Qin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment