Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/4431#discussion_r130397834
--- Diff:
flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/BackPressureStatsTracker.java
---
@@ -177,7 +177,7 @@ public boolean
triggerStackTraceSample(ExecutionJobVertex vertex) {
LOG.debug("Triggering stack
trace sample for tasks: " + Arrays.toString(vertex.getTaskVertices()));
}
- Future<StackTraceSample> sample =
coordinator.triggerStackTraceSample(
+ CompletableFuture<StackTraceSample>
sample = coordinator.triggerStackTraceSample(
--- End diff --
The Java `Future` does not allow you to apply transformations to it. That
was only introduced with Java 8's `CompletableFuture`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---