zentol commented on a change in pull request #8209: [FLINK-11889] Remove "stop"
signal and related interfaces.
URL: https://github.com/apache/flink/pull/8209#discussion_r276657069
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/webmonitor/WebMonitorEndpoint.java
##########
@@ -483,18 +483,18 @@ public WebMonitorEndpoint(
responseHeaders,
JobVertexBackPressureHeaders.getInstance());
- final JobTerminationHandler jobCancelTerminationHandler = new
JobTerminationHandler(
+ final JobCancellationHandler jobCancelTerminationHandler = new
JobCancellationHandler(
leaderRetriever,
timeout,
responseHeaders,
- JobTerminationHeaders.getInstance(),
+ JobCancellationHeaders.getInstance(),
TerminationModeQueryParameter.TerminationMode.CANCEL);
- final JobTerminationHandler jobStopTerminationHandler = new
JobTerminationHandler(
+ final JobCancellationHandler jobStopTerminationHandler = new
JobCancellationHandler(
Review comment:
add a comment that this one is kept for legacy reasons
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services