You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "vinoyang (JIRA)" <ji...@apache.org> on 2019/07/08 03:35:00 UTC
[jira] [Commented] (FLINK-13136) Fix documentation error about stop
job with restful api
[ https://issues.apache.org/jira/browse/FLINK-13136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880003#comment-16880003 ]
vinoyang commented on FLINK-13136:
----------------------------------
Hi [~Zentol] Since {{JobCancellationHandler}} only response a single "cancel" command currently, I think maybe we can delete {{TerminationMode}} and when users send "STOP" mode, just response an exception. WDYT?
> Fix documentation error about stop job with restful api
> -------------------------------------------------------
>
> Key: FLINK-13136
> URL: https://issues.apache.org/jira/browse/FLINK-13136
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / REST
> Affects Versions: 1.9.0
> Reporter: vinoyang
> Assignee: vinoyang
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, [https://ci.apache.org/projects/flink/flink-docs-master/monitoring/rest_api.html#jobs-jobid-1] does not support "stop" mode. If users use stop mode will throw an exception:
> {code:java}
> The "stop" command has been removed. Please use "stop-with-savepoint" instead.
> {code}
> IMO, We should remove it.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)