You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2018/10/05 16:08:00 UTC
[jira] [Commented] (BEAM-5664) A canceled pipeline should not
return a done status in the jobserver.
[ https://issues.apache.org/jira/browse/BEAM-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640007#comment-16640007 ]
Maximilian Michels commented on BEAM-5664:
------------------------------------------
Cancel is not supported via the {{FlinkRunnerResult}}, so I'm assuming cancellation was done through Flink itself. If it gets cancelled, an exception should be thrown which leads to triggering JobState {{FAILED}}.
There is also {{FlinkJobInvocation#cancel()}}, this will internally throw an exception and then leave the state unmodified, e.g. default is STOP which should be changed to UNSPECIFIED.
{{DONE}} should only be set when the entire pipeline shuts down gracefully. Need to dig deeper how it can be set to this state when cancelling.
> A canceled pipeline should not return a done status in the jobserver.
> ---------------------------------------------------------------------
>
> Key: BEAM-5664
> URL: https://issues.apache.org/jira/browse/BEAM-5664
> Project: Beam
> Issue Type: Improvement
> Components: runner-core
> Reporter: Robert Bradshaw
> Assignee: Kenneth Knowles
> Priority: Major
> Labels: portability-flink
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)