GJL commented on a change in pull request #11571: [FLINK-16710][runtime] Log
Upload blocks Main Thread in TaskExecutor
URL: https://github.com/apache/flink/pull/11571#discussion_r402355300
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/TaskExecutor.java
##########
@@ -290,6 +295,8 @@ public TaskExecutor(
final ResourceID resourceId =
taskExecutorServices.getUnresolvedTaskManagerLocation().getResourceID();
this.jobManagerHeartbeatManager =
createJobManagerHeartbeatManager(heartbeatServices, resourceId);
this.resourceManagerHeartbeatManager =
createResourceManagerHeartbeatManager(heartbeatServices, resourceId);
+
+ this.ioExecutor = Executors.newSingleThreadExecutor(new
ExecutorThreadFactory("taskexecutor-io"));
Review comment:
Thanks, you still need to adjust `TaskManagerServicesBuilder`. By default it
can use the `TestingUtils.defaultExecutor()`
----------------------------------------------------------------
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