Class ZooKeeperExecutionPlanStoreWatcher

java.lang.Object
org.apache.flink.runtime.jobmanager.ZooKeeperExecutionPlanStoreWatcher
All Implemented Interfaces:
ExecutionPlanStoreWatcher

public class ZooKeeperExecutionPlanStoreWatcher extends Object implements ExecutionPlanStoreWatcher
ExecutionPlanStoreWatcher implementation for ZooKeeper.

Each job graph creates ZNode:

 +----O /flink/jobgraphs/<job-id> 1 [persistent]
 .
 .
 .
 +----O /flink/jobgraphs/<job-id> N [persistent]
 

The root path is watched to detect concurrent modifications in corner situations where multiple instances operate concurrently. The job manager acts as a ExecutionPlanStore.ExecutionPlanListener to react to such situations.