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

Cluster runs out of task slots when a job falls into restart loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 1.4.2
    • None
    • Runtime / Coordination
    • None

    Description

      If there's a job which is restarting in a loop, then Task Manager hosting it goes down after some time. Job manager automatically assigns the job to another Task Manager and the new Task Manager goes down as well. After some time, all Task Managers are gone. Cluster becomes paralyzed.

      I've attached to TaskManager's java process using jconsole and noticed that number of loaded classes increases dramatically if a job is in restarting loop and restores from checkpoint.

      See attachment for the graph with G1GC enabled for the node. Standard GC performs even worse - task manager shuts down within 20 minutes since the restart loop start.

      I've also attached minimal program to reproduce the problem

       

      please let me know if additional information is required from me.

      Attachments

        1. FailedJob.java
          2 kB
          Alex Smirnov
        2. jconsole-classes.png
          82 kB
          Alex Smirnov

        Activity

          People

            Unassigned Unassigned
            asmirnov Alex Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: