break;
}
Multimap<Node, Split> nodeSplits = ArrayListMultimap.create();
for (Split split : splitSource.getNextBatch(splitBatchSize)) {
Node node = chooseNode(nodeSelector, split, nextTaskId);
nodeSplits.put(node, split);
}
for (Entry<Node, Collection<Split>> taskSplits : nodeSplits.asMap().entrySet()) {
long scheduleSplitStart = System.nanoTime();
Node node = taskSplits.getKey();
RemoteTask task = tasks.get(node);
if (task == null) {
scheduleTask(nextTaskId.getAndIncrement(), node, fragment.getPartitionedSource(), taskSplits.getValue());