tillrohrmann commented on a change in pull request #8608:
[FLINK-11392][network] Introduce ShuffleEnvironment interface
URL: https://github.com/apache/flink/pull/8608#discussion_r291182698
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutor.java
##########
@@ -271,7 +271,7 @@ public TaskExecutor(
@Override
public CompletableFuture<Boolean> canBeReleased() {
return CompletableFuture.completedFuture(
-
taskExecutorServices.getNetworkEnvironment().getUnreleasedPartitions().isEmpty());
+
taskExecutorServices.getShuffleEnvironment().getUnreleasedPartitions().isEmpty());
Review comment:
we could directly use the `shuffleEnvironment` field here.
----------------------------------------------------------------
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