Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8971 Create general purpose testing job
  3. FLINK-9322

Add exception throwing map function that simulates failures to the general purpose DataStream job

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.1, 1.6.0
    • Tests
    • None

    Description

      The general purpose DataStream job currently does not have any functionality to simulate user job failures.

      We can achieve this by:

      • Adding a simple-pass map function, that throws exceptions after a certain criteria is met
      • To allow for the end-to-end tests that we have in mind, criteria could be to fail after 1) processing X records, and 2) Y completed checkpoints (see FLINK-8977)
      • We should also allow specifying how many times to fail. Some chaos monkey tests (see FLINK-8973) would need to continuously fail several times, while FLINK-8977, for example, only needs to fail once.

      Attachments

        Issue Links

          Activity

            People

              tzulitai Tzu-Li (Gordon) Tai
              tzulitai Tzu-Li (Gordon) Tai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: