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

Boyuan Zhang commented on BEAM-3245:
------------------------------------

> Re-reading this ticket, it does not seem to be about killing the process. If 
> there is an exception in the DoFn method, the SDK harness should handle this 
> and call teardown.

I opened PR https://github.com/apache/beam/pull/13568 to deal with exceptions. 
The tearDown is never called even when there is no exception.

> Dataflow runner does not respect ParDo's lifecycle on case of exceptions
> ------------------------------------------------------------------------
>
>                 Key: BEAM-3245
>                 URL: https://issues.apache.org/jira/browse/BEAM-3245
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-dataflow
>    Affects Versions: 2.2.0, 2.3.0
>            Reporter: Ismaël Mejía
>            Priority: P3
>
> The lifecycle of the DoFn is not respected in case of exception in any of the 
> lifecycle methods after setup.



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

Reply via email to