[ 
https://issues.apache.org/jira/browse/BEAM-9505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084779#comment-17084779
 ] 

Niel Markwick commented on BEAM-9505:
-------------------------------------

The shame 😢. This is actually a bug in my code where a value was not cleared in 
FinishBundle, leading to an unexpected state in StartBundle and a spurious 
error message.

This only occurs in certain situations (such as an empty bundle, which can 
occur in streaming if the window is also empty).

Updating issue to correct.

> DoFn.StartBundle called multiple times when streaming
> -----------------------------------------------------
>
>                 Key: BEAM-9505
>                 URL: https://issues.apache.org/jira/browse/BEAM-9505
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-dataflow
>    Affects Versions: 2.18.0, 2.19.0
>            Reporter: Niel Markwick
>            Assignee: Boyuan Zhang
>            Priority: Major
>
> When using DataflowRunner in streaming mode. DoFn.StartBundle is called 
> multiple times for the same bundle.
>  
> This does not occur with DirectRunner. 
> This breaks DoFn's which require per-bundle setup and teardown  procedures.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to