[
https://issues.apache.org/jira/browse/FLINK-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16363922#comment-16363922
]
ASF GitHub Bot commented on FLINK-8605:
---------------------------------------
Github user GJL commented on a diff in the pull request:
https://github.com/apache/flink/pull/5430#discussion_r168148700
--- Diff:
flink-runtime/src/test/java/org/apache/flink/runtime/webmonitor/TestingRestfulGateway.java
---
@@ -169,22 +192,26 @@ public static Builder newBuilder() {
private String address = LOCALHOST;
private String hostname = LOCALHOST;
private String restAddress = LOCALHOST;
+ private Function<JobID, CompletableFuture<Acknowledge>>
cancelJobFunction;
+ private Function<JobID, CompletableFuture<Acknowledge>>
stopJobFunction;
private Function<JobID, CompletableFuture<? extends
AccessExecutionGraph>> requestJobFunction;
private Function<JobID, CompletableFuture<JobStatus>>
requestJobStatusFunction;
private Supplier<CompletableFuture<MultipleJobsDetails>>
requestMultipleJobDetailsSupplier;
private Supplier<CompletableFuture<ClusterOverview>>
requestClusterOverviewSupplier;
private Supplier<CompletableFuture<Collection<String>>>
requestMetricQueryServicePathsSupplier;
private
Supplier<CompletableFuture<Collection<Tuple2<ResourceID, String>>>>
requestTaskManagerMetricQueryServicePathsSupplier;
- private BiFunction<JobID, JobVertexID,
CompletableFuture<OperatorBackPressureStatsResponse>>
requestOeratorBackPressureStatsFunction;
+ private BiFunction<JobID, JobVertexID,
CompletableFuture<OperatorBackPressureStatsResponse>>
requestOperatorBackPressureStatsFunction;
--- End diff --
nice
> Enable job cancellation from the web UI
> ---------------------------------------
>
> Key: FLINK-8605
> URL: https://issues.apache.org/jira/browse/FLINK-8605
> Project: Flink
> Issue Type: Improvement
> Components: REST
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Major
> Labels: flip-6
> Fix For: 1.5.0
>
>
> In order to enable the job cancellation from the web UI (including YARN) we
> have to register the {{JobTerminationHandler}} under
> {{/jobs/:jobId/yarn-cancel}} and {{/jobs/:jobid/yarn-stop}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)