Class VertexFinishedStateChecker
- java.lang.Object
-
- org.apache.flink.runtime.checkpoint.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
- All the operators inside a JobVertex have the same finished state.
- The predecessors of a fully finished vertex must also be fully finished.
- 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.
-
-
Constructor Summary
Constructors Constructor Description VertexFinishedStateChecker(Set<ExecutionJobVertex> vertices, Map<OperatorID,OperatorState> operatorStates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validateOperatorsFinishedState()
-
-
-
Constructor Detail
-
VertexFinishedStateChecker
public VertexFinishedStateChecker(Set<ExecutionJobVertex> vertices, Map<OperatorID,OperatorState> operatorStates)
-
-