jobVertex.setMaxParallelism(streamNode.getMaxParallelism());
vertex.setMaxParallelism(pd);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
/** * Rescales the given operators of the {@link JobGraph} of this {@link JobMaster} with respect to given * parallelism and {@link RescalingBehaviour}. * * @param operators to rescale * @param newParallelism new parallelism for these operators * @param rescalingBehaviour of the rescaling operation * @throws FlinkException if the {@link JobGraph} could not be rescaled */ private void rescaleJobGraph(Collection<JobVertexID> operators, int newParallelism, RescalingBehaviour rescalingBehaviour) throws FlinkException { for (JobVertexID jobVertexId : operators) { final JobVertex jobVertex = jobGraph.findVertexByID(jobVertexId); // update max parallelism in case that it has not been configured final ExecutionJobVertex executionJobVertex = executionGraph.getJobVertex(jobVertexId); if (executionJobVertex != null) { jobVertex.setMaxParallelism(executionJobVertex.getMaxParallelism()); } rescalingBehaviour.accept(jobVertex, newParallelism); } }
/** * Rescales the given operators of the {@link JobGraph} of this {@link JobMaster} with respect to given * parallelism and {@link RescalingBehaviour}. * * @param operators to rescale * @param newParallelism new parallelism for these operators * @param rescalingBehaviour of the rescaling operation * @throws FlinkException if the {@link JobGraph} could not be rescaled */ private void rescaleJobGraph(Collection<JobVertexID> operators, int newParallelism, RescalingBehaviour rescalingBehaviour) throws FlinkException { for (JobVertexID jobVertexId : operators) { final JobVertex jobVertex = jobGraph.findVertexByID(jobVertexId); // update max parallelism in case that it has not been configured final ExecutionJobVertex executionJobVertex = executionGraph.getJobVertex(jobVertexId); if (executionJobVertex != null) { jobVertex.setMaxParallelism(executionJobVertex.getMaxParallelism()); } rescalingBehaviour.accept(jobVertex, newParallelism); } }
/** * Rescales the given operators of the {@link JobGraph} of this {@link JobMaster} with respect to given * parallelism and {@link RescalingBehaviour}. * * @param operators to rescale * @param newParallelism new parallelism for these operators * @param rescalingBehaviour of the rescaling operation * @throws FlinkException if the {@link JobGraph} could not be rescaled */ private void rescaleJobGraph(Collection<JobVertexID> operators, int newParallelism, RescalingBehaviour rescalingBehaviour) throws FlinkException { for (JobVertexID jobVertexId : operators) { final JobVertex jobVertex = jobGraph.findVertexByID(jobVertexId); // update max parallelism in case that it has not been configured final ExecutionJobVertex executionJobVertex = executionGraph.getJobVertex(jobVertexId); if (executionJobVertex != null) { jobVertex.setMaxParallelism(executionJobVertex.getMaxParallelism()); } rescalingBehaviour.acceptWithException(jobVertex, newParallelism); } }
jobVertex.setMaxParallelism(streamNode.getMaxParallelism());
jobVertex.setMaxParallelism(streamNode.getMaxParallelism());
jobVertex.setMaxParallelism(streamNode.getMaxParallelism());
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);
sync.setInvokableClass(IterationSynchronizationSinkTask.class); sync.setParallelism(1); sync.setMaxParallelism(1); this.auxVertices.add(sync);