[
https://issues.apache.org/jira/browse/BEAM-3242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16265828#comment-16265828
]
Ismaël Mejía commented on BEAM-3242:
------------------------------------
Hi Manu, some user reported that he had issues with a pipeline that was leaking
resources because it threw an exception on the finishBundle method but wasn't
freeing the resources because the runner (Spark) never invoked the teardown
method.
I worked on a fix for this but in the meantime decided to enable this tests for
every runner and discovered that some of them had the issue too. To do this I
promoted all of the tests from this class
https://github.com/apache/beam/blob/master/sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/ParDoLifecycleTest.java
into ValidatesRunner and executed them.
> Gearpump runner does not respect ParDo's lifecycle on case of exceptions
> ------------------------------------------------------------------------
>
> Key: BEAM-3242
> URL: https://issues.apache.org/jira/browse/BEAM-3242
> Project: Beam
> Issue Type: Bug
> Components: runner-gearpump
> Affects Versions: 2.2.0
> Reporter: Ismaël Mejía
> Assignee: Manu Zhang
> Priority: Minor
>
> 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
(v6.4.14#64029)