[ 
https://issues.apache.org/jira/browse/BEAM-5211?focusedWorklogId=137630&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-137630
 ]

ASF GitHub Bot logged work on BEAM-5211:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Aug/18 00:37
            Start Date: 24/Aug/18 00:37
    Worklog Time Spent: 10m 
      Work Description: angoenka commented on a change in pull request #6271: 
[BEAM-5211] Flink Streaming ExecutableStage operator chain blocks grpc receiver 
threads
URL: https://github.com/apache/beam/pull/6271#discussion_r212489970
 
 

 ##########
 File path: 
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/ExecutableStageDoFnOperator.java
 ##########
 @@ -137,12 +137,32 @@ private void 
processElementWithSdkHarness(WindowedValue<InputT> element) throws
     checkState(
         stateRequestHandler != null, "%s not yet prepared", 
StateRequestHandler.class.getName());
 
 
 Review comment:
   Shall we use a queue here to avoid synchronized 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 137630)
    Time Spent: 0.5h  (was: 20m)

> Flink Streaming ExecutableStage operator chain blocks grpc receiver threads 
> ----------------------------------------------------------------------------
>
>                 Key: BEAM-5211
>                 URL: https://issues.apache.org/jira/browse/BEAM-5211
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>    Affects Versions: 2.6.0
>            Reporter: Thomas Weise
>            Assignee: Thomas Weise
>            Priority: Major
>              Labels: portability
>             Fix For: 2.7.0
>
>         Attachments: jstack.log
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to