Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4343 Implement new TaskManager
  3. FLINK-4364

Implement heartbeat logic between TaskManager and JobManager

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Runtime / Coordination
    • None

    Description

      It is part of work for FLIP-6.

      The HeartbeatManager is mainly used for monitoring heartbeat target and reporting payloads.

      For JobManager side, it would trigger monitoring the HeartbeatTarget when receive registration from TaskManager, and schedule a task to requestHeartbeat at interval time. If not receive heartbeat response within duration time, the HeartbeatListener will notify heartbeat timeout, then the JobManager should remove the internal registered TaskManager.

      For TaskManger side, it would trigger monitoring the HeartbeatTarget when receive registration acknowledgement from JobManager. An it will also be notified heartbeat timeout if not receive heartbeat request from JobManager within duration time.

      The current implementation will not interact payloads via heartbeat, and it can be added if needed future.

      Attachments

        Issue Links

          Activity

            People

              zjwang Zhijiang
              zjwang Zhijiang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: