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. For job vertices whose inputs are all ALL_TO_ALL edges, evenly distribute data to downstream subtasks, make different downstream subtasks consume roughly the same amount of data.

    2. For other cases, evenly distribute subpartitions to downstream subtasks, make different downstream subtasks consume roughly the same number of subpartitions.