kumar-mallikarjuna commented on code in PR #25027:
URL: https://github.com/apache/flink/pull/25027#discussion_r1679615203
##########
flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DefaultJobManagerRunnerRegistry.java:
##########
@@ -41,10 +42,12 @@
public class DefaultJobManagerRunnerRegistry implements
JobManagerRunnerRegistry {
@VisibleForTesting final Map<JobID, JobManagerRunner> jobManagerRunners;
+ private ComponentMainThreadExecutor mainThreadExecutor;
public DefaultJobManagerRunnerRegistry(int initialCapacity) {
Preconditions.checkArgument(initialCapacity > 0);
jobManagerRunners =
CollectionUtil.newHashMapWithExpectedSize(initialCapacity);
+ mainThreadExecutor = null;
Review Comment:
Would need a `null` check or we initialize it to `Runnable::run`.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]