getGraph().getGraphManager().notifyInputSplitsCreated(getJobVertexId(), inputSplitsMap); } finally { currentThread.setContextClassLoader(oldContextClassLoader);
void sendPartitionInfos() { if (vertex.getExecutionGraph().getGraphManager().isReplaying()) { return; } synchronized (updatePartitionLock) { updatePartitionFuture = null; } // check if the ExecutionVertex has already been archived and thus cleared the // partial partition infos queue if (partialInputChannelDeploymentDescriptors != null && !partialInputChannelDeploymentDescriptors.isEmpty()) { PartialInputChannelDeploymentDescriptor partialInputChannelDeploymentDescriptor; List<PartitionInfo> partitionInfos = new ArrayList<>(partialInputChannelDeploymentDescriptors.size()); while ((partialInputChannelDeploymentDescriptor = partialInputChannelDeploymentDescriptors.poll()) != null) { partitionInfos.add( new PartitionInfo( partialInputChannelDeploymentDescriptor.getResultId(), partialInputChannelDeploymentDescriptor.createInputChannelDeploymentDescriptor( this, getVertex().getExecutionGraph().getResultPartitionLocationTrackerProxy()))); } sendUpdatePartitionInfoRpcCall(partitionInfos); } }
protected void notifyAndUpdateConsumers(IntermediateResultPartition partition) { getExecutionGraph().getGraphManager().notifyResultPartitionConsumable( getExecutionVertexID(), partition.getIntermediateResult().getId(), partition.getPartitionNumber(), getCurrentAssignedResourceLocation()); getExecutionGraph().getFutureExecutor().execute(() -> { currentExecution.updateConsumers(partition.getConsumers()); }); }
final ExecutionState oldState = oldExecution.getState(); if (oldState.isTerminal() || getExecutionGraph().getGraphManager().isReplaying()) { priorExecutions.add(oldExecution); latestPriorLocation = oldExecution.getAssignedResourceLocation();