Class DefaultVertexParallelismAndInputInfosDecider

  • All Implemented Interfaces:
    VertexParallelismAndInputInfosDecider

    public class DefaultVertexParallelismAndInputInfosDecider
    extends Object
    implements VertexParallelismAndInputInfosDecider
    Default implementation of VertexParallelismAndInputInfosDecider. This implementation will decide parallelism and JobVertexInputInfos as follows:

    1. We will first attempt to: evenly distribute data to downstream subtasks, make different downstream subtasks consume roughly the same amount of data.

    2. If step 1 fails or is not applicable, we will proceed to: evenly distribute subpartitions to downstream subtasks, make different downstream subtasks consume roughly the same number of subpartitions.