tillrohrmann commented on a change in pull request #7662: [FLINK-10431]
Extraction of scheduling-related code from SlotPool into preliminary Scheduler
(rebased)
URL: https://github.com/apache/flink/pull/7662#discussion_r255148700
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/JobMaster.java
##########
@@ -285,7 +285,7 @@ public JobMaster(
this.slotPool =
checkNotNull(slotPoolFactory).createSlotPool(jobGraph.getJobID());
- this.slotPoolGateway =
slotPool.getSelfGateway(SlotPoolGateway.class);
+ this.scheduler =
checkNotNull(schedulerFactory).createScheduler(slotPool);
Review comment:
At some point we might also think about moving `SlotPool` into the
`Scheduler` because the `SlotPool` alone has not much meaning for the
`JobMaster`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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