Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-28896 [Umbrella] Test Flink Release 1.16
  3. FLINK-28980

Release Testing: Verify FLIP-168 speculative execution

    XMLWordPrintableJSON

Details

    Description

      Speculative execution is introduced in Flink 1.16 to deal with temporary slow tasks caused by slow nodes. This feature currently consists of 4 FLIPs:

      • FLIP-168: Speculative Execution core part
      • FLIP-224: Blocklist Mechanism
      • FLIP-245: Source Supports Speculative Execution
      • FLIP-249: Flink Web UI Enhancement for Speculative Execution

      This ticket aims for verifying FLIP-168, along with FLIP-224 and FLIP-249.

      More details about this feature and how to use it can be found in this documentation.

      To do the verification, the process can be:

      • Write a Flink job which has a subtask running much slower than others (e.g. sleep indefinitely if it runs on a certain host, the hostname can be retrieved via InetAddress.getLocalHost().getHostName(), or if its (subtaskIndex + attemptNumer) % 2 == 0)
      • Modify Flink configuration file to enable speculative execution and tune the configuration as you like
      • Submit the job. Checking the web UI, logs, metrics and produced result.

      Attachments

        1. flink-root-standalonesession-0-VM_38_195_centos.log
          397 kB
          Biao Liu
        2. flink-root-taskexecutor-0-VM_199_24_centos.log
          42 kB
          Biao Liu
        3. flink-root-taskexecutor-0-VM_38_195_centos.log
          208 kB
          Biao Liu
        4. screenshot1
          463 kB
          Biao Liu
        5. screenshot2
          471 kB
          Biao Liu
        6. stdout
          2 kB
          Biao Liu

        Activity

          People

            SleePy Biao Liu
            zhuzh Zhu Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: