Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-5211

Flink Streaming ExecutableStage operator chain blocks grpc receiver threads

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • runner-flink

    Description

      The operator attempts to emit results as they are received, within the grpc thread, while the subtask thread is waiting for bundle completion. This leads to blocking of grpc threads and eventually deadlock when multiple stages are within an operator chain. Observed with wordcount, see attached stacktrace.

      Attachments

        1. jstack.log
          89 kB
          Thomas Weise

        Issue Links

          Activity

            People

              thw Thomas Weise
              thw Thomas Weise
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m