azagrebin commented on a change in pull request #10034: [FLINK-14400] Shrink
scope of MemoryManager from TaskExecutor to slot
URL: https://github.com/apache/flink/pull/10034#discussion_r341146226
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/taskexecutor/slot/TaskSlotTable.java
##########
@@ -82,28 +81,15 @@
private boolean started;
public TaskSlotTable(
- final Collection<ResourceProfile> resourceProfiles,
+ final List<TaskSlot> taskSlots,
final TimerService<AllocationID> timerService) {
- int numberSlots = resourceProfiles.size();
-
- Preconditions.checkArgument(0 < numberSlots, "The number of
task slots must be greater than 0.");
Review comment:
added back
----------------------------------------------------------------
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