You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Daniel Halperin (JIRA)" <ji...@apache.org> on 2017/03/30 16:44:42 UTC
[jira] [Closed] (BEAM-153) Support timeout in runner API
[ https://issues.apache.org/jira/browse/BEAM-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Halperin closed BEAM-153.
--------------------------------
Resolution: Fixed
Fix Version/s: Not applicable
> Support timeout in runner API
> -----------------------------
>
> Key: BEAM-153
> URL: https://issues.apache.org/jira/browse/BEAM-153
> Project: Beam
> Issue Type: Improvement
> Components: runner-dataflow
> Reporter: Eugene Kirpichov
> Assignee: Pei He
> Fix For: Not applicable
>
>
> Some users want to make sure that their pipeline doesn't run longer than X minutes (e.g. because sometimes it runs longer than that due to bugs, and in that case they'd rather auto-cancel it than incur the costs).
> The runner API should have a timeout option, so that if the pipeline isn't in a terminal state by then, it is automatically cancelled.
> Naturally, this only applies to batch pipelines.
> A simple way to implement this for a blocking runner (such as BlockingDataflowPipelineRunner) is a wrapper of the sort "start pipeline, and cancel it after timeout" inside run(). For a non-blocking runner this will require support on the underlying execution environment side.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)