public interface VertexParallelismAndInputInfosDecider
VertexParallelismAndInputInfosDecider
is responsible for deciding the parallelism and
JobVertexInputInfo
s of a job vertex, based on the information of the consumed blocking
results.Modifier and Type | Method and Description |
---|---|
ParallelismAndInputInfos |
decideParallelismAndInputInfosForVertex(JobVertexID jobVertexId,
List<BlockingResultInfo> consumedResults,
int vertexInitialParallelism,
int vertexMaxParallelism)
Decide the parallelism and
JobVertexInputInfo s for this job vertex. |
ParallelismAndInputInfos decideParallelismAndInputInfosForVertex(JobVertexID jobVertexId, List<BlockingResultInfo> consumedResults, int vertexInitialParallelism, int vertexMaxParallelism)
JobVertexInputInfo
s for this job vertex.jobVertexId
- The job vertex idconsumedResults
- The information of consumed blocking resultsvertexInitialParallelism
- The initial parallelism of the job vertex. If it's a positive
number, it will be respected. If it's not set(equals to ExecutionConfig.PARALLELISM_DEFAULT
), a parallelism will be automatically decided for
the vertex.vertexMaxParallelism
- The max parallelism of the job vertex.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.