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

TaskManager stop sending metrics after JobManager failover

    XMLWordPrintableJSON

Details

    Description

      Running in Yarn-standalone mode, when the Job Manager performs a failover, all TaskManager that are inherited from the previous JobManager will not send metrics to the new JobManager and other registered metric reporters.

       

      A cursory glance reveal that these line of code might be the cause

      https://github.com/apache/flink/blob/a3478fdfa0f792104123fefbd9bdf01f5029de51/flink-runtime/src/main/scala/org/apache/flink/runtime/taskmanager/TaskManager.scala#L1082-L1086

      Perhap the TaskManager close its metrics group when disassociating JobManager, but not creating a new one on fail-over association ?

       

      Attachments

        Activity

          People

            yanghua vinoyang
            kien_truong Truong Duc Kien
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: