StefanRRichter 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_r255487547
 
 

 ##########
 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:
   Yes, I think that will probably become obvious in the next step, i.e. when 
we also extract logic from executions into the scheduler.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to