RocMarshal commented on code in PR #23635:
URL: https://github.com/apache/flink/pull/23635#discussion_r1453256769


##########
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java:
##########
@@ -330,12 +334,32 @@ public void onUnknownDeploymentsOf(
                         getMainThreadExecutor(),
                         log);
 
+        TaskManagerLoadBalanceMode mode =
+                TaskManagerLoadBalanceMode.loadFromConfiguration(
+                        jobMasterConfiguration.getConfiguration());
+        JobManagerOptions.SchedulerType schedulerType =
+                slotPoolServiceSchedulerFactory.getSchedulerType();
+        Time slotRequestMaxInterval = null;
+        boolean slotBatchAllocatable = false;
+        if (mode == TASKS && schedulerType == 
JobManagerOptions.SchedulerType.Adaptive) {

Review Comment:
   The `Adaptive` should be `Default`



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to