public void registerJob(final ExecutionGraph executionGraph) {
final Iterator<ExecutionGroupVertex> it = new ExecutionGroupVertexIterator(executionGraph, true, -1);
while (it.hasNext()) {
final ExecutionGroupVertex groupVertex = it.next();
final InputSplit[] inputSplits = groupVertex.getInputSplits();
if (inputSplits == null) {
continue;
}
if (inputSplits.length == 0) {
continue;
}
final AbstractInvokable invokable = groupVertex.getEnvironment().getInvokable();
if (!(invokable instanceof AbstractInputTask)) {
LOG.error(groupVertex.getName() + " has " + inputSplits.length
+ " input splits, but is not of typt AbstractInputTask, ignoring...");
continue;
}
@SuppressWarnings("unchecked")