Class VertexFinishedStateChecker


  • public class VertexFinishedStateChecker
    extends Object
    This class encapsulates the operation that checks if there are illegal modification to the JobGraph when restoring from a checkpoint with partially or fully finished operator states.

    As a whole, it ensures

    1. All the operators inside a JobVertex have the same finished state.
    2. The predecessors of a fully finished vertex must also be fully finished.
    3. The predecessors of a partially finished vertex
      • If connected via ALL_TO_ALL edge, the predecessor must be fully finished.
      • If connected via POINTWISE edge, the predecessor must be partially finished or fully finished.
    • Method Detail

      • validateOperatorsFinishedState

        public void validateOperatorsFinishedState()