StefanRRichter commented on a change in pull request #6702: [FLINK-10135] The
JobManager does not report the cluster-level metrics
URL: https://github.com/apache/flink/pull/6702#discussion_r218473753
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/webmonitor/TestingRestfulGateway.java
##########
@@ -100,24 +104,26 @@ public TestingRestfulGateway() {
DEFAULT_REQUEST_METRIC_QUERY_SERVICE_PATHS_SUPPLIER,
DEFAULT_REQUEST_TASK_MANAGER_METRIC_QUERY_SERVICE_PATHS_SUPPLIER,
DEFAULT_REQUEST_OPERATOR_BACK_PRESSURE_STATS_SUPPLIER,
- DEFAULT_TRIGGER_SAVEPOINT_FUNCTION);
+ DEFAULT_TRIGGER_SAVEPOINT_FUNCTION,
+ DEFAULT_REQUEST_MULTIPLE_JOBS_OVERVIEW_SUPPLIER);
}
public TestingRestfulGateway(
- String address,
- String hostname,
- String restAddress,
- Function<JobID, CompletableFuture<Acknowledge>>
cancelJobFunction,
- Function<JobID, CompletableFuture<Acknowledge>>
stopJobFunction,
- Function<JobID, CompletableFuture<? extends
AccessExecutionGraph>> requestJobFunction,
- Function<JobID, CompletableFuture<JobResult>>
requestJobResultFunction,
- Function<JobID, CompletableFuture<JobStatus>>
requestJobStatusFunction,
- Supplier<CompletableFuture<MultipleJobsDetails>>
requestMultipleJobDetailsSupplier,
- Supplier<CompletableFuture<ClusterOverview>>
requestClusterOverviewSupplier,
- Supplier<CompletableFuture<Collection<String>>>
requestMetricQueryServicePathsSupplier,
-
Supplier<CompletableFuture<Collection<Tuple2<ResourceID, String>>>>
requestTaskManagerMetricQueryServicePathsSupplier,
- BiFunction<JobID, JobVertexID,
CompletableFuture<OperatorBackPressureStatsResponse>>
requestOperatorBackPressureStatsFunction,
- BiFunction<JobID, String, CompletableFuture<String>>
triggerSavepointFunction) {
+ String address,
Review comment:
Unrelated formatting changes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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