You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by zh...@apache.org on 2024/10/12 08:38:13 UTC

(flink) branch master updated: [FLINK-36158][runtime] Refactor Job Recovery Process to Use ExecutionPlan Instead of JobGraph.

This is an automated email from the ASF dual-hosted git repository.

zhuzh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 292d7f449db [FLINK-36158][runtime] Refactor Job Recovery Process to Use ExecutionPlan Instead of JobGraph.
292d7f449db is described below

commit 292d7f449db89c662c60b265ed99e33416dba614
Author: JunRuiLee <jr...@gmail.com>
AuthorDate: Fri Oct 11 09:58:36 2024 +0800

    [FLINK-36158][runtime] Refactor Job Recovery Process to Use ExecutionPlan Instead of JobGraph.
---
 .../expert_high_availability_zk_section.html       |   6 +-
 .../generated/high_availability_configuration.html |   6 +-
 ...ApplicationDispatcherGatewayServiceFactory.java |  16 +-
 .../configuration/HighAvailabilityOptions.java     |  14 +-
 ....java => KubernetesExecutionPlanStoreUtil.java} |  22 +-
 .../KubernetesLeaderElectionHaServices.java        |   6 +-
 .../apache/flink/kubernetes/utils/Constants.java   |   4 +-
 .../flink/kubernetes/utils/KubernetesUtils.java    |  42 +--
 .../KubernetesStateHandleStoreITCase.java          |   2 +-
 .../flink/runtime/dispatcher/Dispatcher.java       |  40 +--
 .../runtime/dispatcher/DispatcherFactory.java      |   4 +-
 .../runtime/dispatcher/DispatcherServices.java     |  14 +-
 .../runtime/dispatcher/JobDispatcherFactory.java   |  12 +-
 .../flink/runtime/dispatcher/MiniDispatcher.java   |  11 +-
 ...atcherServicesWithJobPersistenceComponents.java |  16 +-
 .../dispatcher/SessionDispatcherFactory.java       |   4 +-
 .../runtime/dispatcher/StandaloneDispatcher.java   |   3 +-
 .../cleanup/DispatcherResourceCleanerFactory.java  |  16 +-
 .../runner/AbstractDispatcherLeaderProcess.java    |  10 +-
 .../runner/DefaultDispatcherGatewayService.java    |   4 +-
 .../DefaultDispatcherGatewayServiceFactory.java    |  12 +-
 .../runner/JobDispatcherLeaderProcess.java         |   4 +-
 .../runner/SessionDispatcherLeaderProcess.java     | 103 +++---
 .../SessionDispatcherLeaderProcessFactory.java     |   2 +-
 .../highavailability/AbstractHaServices.java       |  14 +-
 .../highavailability/HighAvailabilityServices.java |  10 +-
 .../nonha/AbstractNonHaServices.java               |  10 +-
 .../ZooKeeperLeaderElectionHaServices.java         |   6 +-
 .../runtime/jobgraph/JobResourceRequirements.java  |  26 +-
 ...phStore.java => DefaultExecutionPlanStore.java} | 212 ++++++------
 ...{JobGraphStore.java => ExecutionPlanStore.java} |  36 +-
 ...hStoreUtil.java => ExecutionPlanStoreUtil.java} |   6 +-
 ...Watcher.java => ExecutionPlanStoreWatcher.java} |  22 +-
 ...obGraphWriter.java => ExecutionPlanWriter.java} |  12 +-
 .../HaServicesJobPersistenceComponentFactory.java  |   8 +-
 .../jobmanager/JobPersistenceComponentFactory.java |   6 +-
 ...her.java => NoOpExecutionPlanStoreWatcher.java} |   6 +-
 ...tore.java => StandaloneExecutionPlanStore.java} |  14 +-
 ...riter.java => ThrowingExecutionPlanWriter.java} |  10 +-
 ...l.java => ZooKeeperExecutionPlanStoreUtil.java} |   4 +-
 ...ava => ZooKeeperExecutionPlanStoreWatcher.java} |  30 +-
 .../adaptive/AdaptiveSchedulerFactory.java         |   2 +-
 .../apache/flink/runtime/util/ZooKeeperUtils.java  |  40 +--
 .../zookeeper/ZooKeeperStateHandleStore.java       |   7 +-
 .../runtime/dispatcher/AbstractDispatcherTest.java |   6 +-
 .../dispatcher/DispatcherCleanupITCase.java        |  38 +--
 .../flink/runtime/dispatcher/DispatcherTest.java   |  46 +--
 .../runtime/dispatcher/MiniDispatcherTest.java     |   2 +-
 ...istener.java => NoOpExecutionPlanListener.java} |  12 +-
 ...aphWriter.java => NoOpExecutionPlanWriter.java} |  10 +-
 .../runtime/dispatcher/TestingDispatcher.java      |  24 +-
 .../DispatcherResourceCleanerFactoryTest.java      |  40 +--
 .../runner/DefaultDispatcherRunnerITCase.java      |  17 +-
 ...bDispatcherLeaderProcessFactoryFactoryTest.java |  10 +-
 .../runner/SessionDispatcherLeaderProcessTest.java | 199 +++++------
 .../runner/TestingDispatcherGatewayService.java    |  18 +-
 .../ZooKeeperDefaultDispatcherRunnerTest.java      |  17 +-
 .../highavailability/AbstractHaServicesTest.java   |   4 +-
 .../TestingHighAvailabilityServices.java           |  14 +-
 .../TestingHighAvailabilityServicesBuilder.java    |  13 +-
 .../jobgraph/JobResourceRequirementsTest.java      |   8 +-
 ...est.java => DefaultExecutionPlanStoreTest.java} | 314 +++++++++--------
 ....java => StandaloneExecutionPlanStoreTest.java} |  22 +-
 ...ener.java => TestingExecutionPlanListener.java} |  24 +-
 ....java => TestingExecutionPlanStoreWatcher.java} |  22 +-
 .../TestingJobPersistenceComponentFactory.java     |  12 +-
 ...=> ZooKeeperExecutionPlanStoreWatcherTest.java} |  36 +-
 .../ZooKeeperExecutionPlansStoreITCase.java        | 371 +++++++++++++++++++++
 .../jobmanager/ZooKeeperJobGraphsStoreITCase.java  | 360 --------------------
 ...phStore.java => TestingExecutionPlanStore.java} | 127 +++----
 tools/maven/suppressions-runtime.xml               |   3 +-
 71 files changed, 1368 insertions(+), 1255 deletions(-)

diff --git a/docs/layouts/shortcodes/generated/expert_high_availability_zk_section.html b/docs/layouts/shortcodes/generated/expert_high_availability_zk_section.html
index e6feb565ad1..5d65775b1e1 100644
--- a/docs/layouts/shortcodes/generated/expert_high_availability_zk_section.html
+++ b/docs/layouts/shortcodes/generated/expert_high_availability_zk_section.html
@@ -51,10 +51,10 @@
             <td>Defines whether a suspended ZooKeeper connection will be treated as an error that causes the leader information to be invalidated or not. In case you set this option to <code class="highlighter-rouge">true</code>, Flink will wait until a ZooKeeper connection is marked as lost before it revokes the leadership of components. This has the effect that Flink is more resilient against temporary connection instabilities at the cost of running more likely into timing issues with  [...]
         </tr>
         <tr>
-            <td><h5>high-availability.zookeeper.path.jobgraphs</h5></td>
-            <td style="word-wrap: break-word;">"/jobgraphs"</td>
+            <td><h5>high-availability.zookeeper.path.execution-plans</h5></td>
+            <td style="word-wrap: break-word;">"/execution-plans"</td>
             <td>String</td>
-            <td>ZooKeeper root path (ZNode) for job graphs</td>
+            <td>ZooKeeper root path (ZNode) for execution plans</td>
         </tr>
     </tbody>
 </table>
diff --git a/docs/layouts/shortcodes/generated/high_availability_configuration.html b/docs/layouts/shortcodes/generated/high_availability_configuration.html
index a787d36f053..4177fb5e781 100644
--- a/docs/layouts/shortcodes/generated/high_availability_configuration.html
+++ b/docs/layouts/shortcodes/generated/high_availability_configuration.html
@@ -93,10 +93,10 @@
             <td>Defines whether a suspended ZooKeeper connection will be treated as an error that causes the leader information to be invalidated or not. In case you set this option to <code class="highlighter-rouge">true</code>, Flink will wait until a ZooKeeper connection is marked as lost before it revokes the leadership of components. This has the effect that Flink is more resilient against temporary connection instabilities at the cost of running more likely into timing issues with  [...]
         </tr>
         <tr>
-            <td><h5>high-availability.zookeeper.path.jobgraphs</h5></td>
-            <td style="word-wrap: break-word;">"/jobgraphs"</td>
+            <td><h5>high-availability.zookeeper.path.execution-plans</h5></td>
+            <td style="word-wrap: break-word;">"/execution-plans"</td>
             <td>String</td>
-            <td>ZooKeeper root path (ZNode) for job graphs</td>
+            <td>ZooKeeper root path (ZNode) for execution plans</td>
         </tr>
         <tr>
             <td><h5>high-availability.zookeeper.path.root</h5></td>
diff --git a/flink-clients/src/main/java/org/apache/flink/client/deployment/application/ApplicationDispatcherGatewayServiceFactory.java b/flink-clients/src/main/java/org/apache/flink/client/deployment/application/ApplicationDispatcherGatewayServiceFactory.java
index 6df7118aaa1..b7e188ef7d4 100644
--- a/flink-clients/src/main/java/org/apache/flink/client/deployment/application/ApplicationDispatcherGatewayServiceFactory.java
+++ b/flink-clients/src/main/java/org/apache/flink/client/deployment/application/ApplicationDispatcherGatewayServiceFactory.java
@@ -30,10 +30,10 @@ import org.apache.flink.runtime.dispatcher.PartialDispatcherServicesWithJobPersi
 import org.apache.flink.runtime.dispatcher.runner.AbstractDispatcherLeaderProcess;
 import org.apache.flink.runtime.dispatcher.runner.DefaultDispatcherGatewayService;
 import org.apache.flink.runtime.highavailability.JobResultStore;
-import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.FlinkRuntimeException;
 
 import java.util.Collection;
@@ -84,9 +84,9 @@ public class ApplicationDispatcherGatewayServiceFactory
     @Override
     public AbstractDispatcherLeaderProcess.DispatcherGatewayService create(
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobResults,
-            JobGraphWriter jobGraphWriter,
+            ExecutionPlanWriter executionPlanWriter,
             JobResultStore jobResultStore) {
 
         final List<JobID> recoveredJobIds = getRecoveredJobIds(recoveredJobs);
@@ -108,7 +108,9 @@ public class ApplicationDispatcherGatewayServiceFactory
                                             scheduledExecutor,
                                             errorHandler),
                             PartialDispatcherServicesWithJobPersistenceComponents.from(
-                                    partialDispatcherServices, jobGraphWriter, jobResultStore));
+                                    partialDispatcherServices,
+                                    executionPlanWriter,
+                                    jobResultStore));
         } catch (Exception e) {
             throw new FlinkRuntimeException("Could not create the Dispatcher rpc endpoint.", e);
         }
@@ -118,7 +120,7 @@ public class ApplicationDispatcherGatewayServiceFactory
         return DefaultDispatcherGatewayService.from(dispatcher);
     }
 
-    private List<JobID> getRecoveredJobIds(final Collection<JobGraph> recoveredJobs) {
-        return recoveredJobs.stream().map(JobGraph::getJobID).collect(Collectors.toList());
+    private List<JobID> getRecoveredJobIds(final Collection<ExecutionPlan> recoveredJobs) {
+        return recoveredJobs.stream().map(ExecutionPlan::getJobID).collect(Collectors.toList());
     }
 }
diff --git a/flink-core/src/main/java/org/apache/flink/configuration/HighAvailabilityOptions.java b/flink-core/src/main/java/org/apache/flink/configuration/HighAvailabilityOptions.java
index e639c229f60..c02d9b12bd6 100644
--- a/flink-core/src/main/java/org/apache/flink/configuration/HighAvailabilityOptions.java
+++ b/flink-core/src/main/java/org/apache/flink/configuration/HighAvailabilityOptions.java
@@ -127,14 +127,16 @@ public class HighAvailabilityOptions {
                     .withDescription(
                             "The root path under which Flink stores its entries in ZooKeeper.");
 
-    /** ZooKeeper root path (ZNode) for job graphs. */
+    /** ZooKeeper root path (ZNode) for execution plans. */
     @Documentation.Section(Documentation.Sections.EXPERT_ZOOKEEPER_HIGH_AVAILABILITY)
-    public static final ConfigOption<String> HA_ZOOKEEPER_JOBGRAPHS_PATH =
-            key("high-availability.zookeeper.path.jobgraphs")
+    public static final ConfigOption<String> HA_ZOOKEEPER_EXECUTION_PLANS_PATH =
+            key("high-availability.zookeeper.path.execution-plans")
                     .stringType()
-                    .defaultValue("/jobgraphs")
-                    .withDeprecatedKeys("recovery.zookeeper.path.jobgraphs")
-                    .withDescription("ZooKeeper root path (ZNode) for job graphs");
+                    .defaultValue("/execution-plans")
+                    .withDeprecatedKeys(
+                            "recovery.zookeeper.path.jobgraphs",
+                            "high-availability.zookeeper.path.jobgraphs")
+                    .withDescription("ZooKeeper root path (ZNode) for execution plans");
 
     // ------------------------------------------------------------------------
     //  ZooKeeper Client Settings
diff --git a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesJobGraphStoreUtil.java b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesExecutionPlanStoreUtil.java
similarity index 65%
rename from flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesJobGraphStoreUtil.java
rename to flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesExecutionPlanStoreUtil.java
index 714ee69122a..15c580548dc 100644
--- a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesJobGraphStoreUtil.java
+++ b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesExecutionPlanStoreUtil.java
@@ -20,33 +20,35 @@ package org.apache.flink.kubernetes.highavailability;
 
 import org.apache.flink.api.common.JobID;
 import org.apache.flink.kubernetes.utils.Constants;
-import org.apache.flink.runtime.jobmanager.JobGraphStoreUtil;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStoreUtil;
 
-import static org.apache.flink.kubernetes.utils.Constants.JOB_GRAPH_STORE_KEY_PREFIX;
+import static org.apache.flink.kubernetes.utils.Constants.EXECUTION_PLAN_STORE_KEY_PREFIX;
 
-/** Singleton {@link JobGraphStoreUtil} implementation for Kubernetes. */
-public enum KubernetesJobGraphStoreUtil implements JobGraphStoreUtil {
+/** Singleton {@link ExecutionPlanStoreUtil} implementation for Kubernetes. */
+public enum KubernetesExecutionPlanStoreUtil implements ExecutionPlanStoreUtil {
     INSTANCE;
 
     /**
      * Convert a key in ConfigMap to {@link JobID}. The key is stored with prefix {@link
-     * Constants#JOB_GRAPH_STORE_KEY_PREFIX}.
+     * Constants#EXECUTION_PLAN_STORE_KEY_PREFIX}.
      *
-     * @param key job graph key in ConfigMap.
+     * @param key execution plan key in ConfigMap.
      * @return the parsed {@link JobID}.
      */
+    @Override
     public JobID nameToJobID(String key) {
-        return JobID.fromHexString(key.substring(JOB_GRAPH_STORE_KEY_PREFIX.length()));
+        return JobID.fromHexString(key.substring(EXECUTION_PLAN_STORE_KEY_PREFIX.length()));
     }
 
     /**
      * Convert a {@link JobID} to config map key. We will add prefix {@link
-     * Constants#JOB_GRAPH_STORE_KEY_PREFIX}.
+     * Constants#EXECUTION_PLAN_STORE_KEY_PREFIX}.
      *
      * @param jobID job id
-     * @return a key to store job graph in the ConfigMap
+     * @return a key to store execution plan in the ConfigMap
      */
+    @Override
     public String jobIDToName(JobID jobID) {
-        return JOB_GRAPH_STORE_KEY_PREFIX + jobID;
+        return EXECUTION_PLAN_STORE_KEY_PREFIX + jobID;
     }
 }
diff --git a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesLeaderElectionHaServices.java b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesLeaderElectionHaServices.java
index 3ada933f6dd..e29f72058b3 100644
--- a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesLeaderElectionHaServices.java
+++ b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/highavailability/KubernetesLeaderElectionHaServices.java
@@ -29,7 +29,7 @@ import org.apache.flink.runtime.blob.BlobStoreService;
 import org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory;
 import org.apache.flink.runtime.highavailability.AbstractHaServices;
 import org.apache.flink.runtime.highavailability.FileSystemJobResultStore;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.leaderelection.LeaderElectionDriverFactory;
 import org.apache.flink.runtime.leaderretrieval.DefaultLeaderRetrievalService;
 import org.apache.flink.runtime.leaderretrieval.LeaderRetrievalService;
@@ -151,8 +151,8 @@ public class KubernetesLeaderElectionHaServices extends AbstractHaServices {
     }
 
     @Override
-    protected JobGraphStore createJobGraphStore() throws Exception {
-        return KubernetesUtils.createJobGraphStore(
+    protected ExecutionPlanStore createExecutionPlanStore() throws Exception {
+        return KubernetesUtils.createExecutionPlanStore(
                 configuration, kubeClient, getClusterConfigMap(), lockIdentity);
     }
 
diff --git a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/Constants.java b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/Constants.java
index 5b7ee019389..ced7d73d507 100644
--- a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/Constants.java
+++ b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/Constants.java
@@ -94,8 +94,8 @@ public class Constants {
     // Constants for Kubernetes high availability
     public static final String LEADER_ADDRESS_KEY = "address";
     public static final String LEADER_SESSION_ID_KEY = "sessionId";
-    public static final String JOB_GRAPH_STORE_KEY_PREFIX = "jobGraph-";
-    public static final String SUBMITTED_JOBGRAPH_FILE_PREFIX = "submittedJobGraph";
+    public static final String EXECUTION_PLAN_STORE_KEY_PREFIX = "executionPlan-";
+    public static final String SUBMITTED_EXECUTION_PLAN_FILE_PREFIX = "submittedExecutionPlan";
     public static final String CHECKPOINT_COUNTER_KEY = "counter";
     public static final String CHECKPOINT_ID_KEY_PREFIX = "checkpointID-";
     public static final String COMPLETED_CHECKPOINT_FILE_SUFFIX = "completedCheckpoint";
diff --git a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/KubernetesUtils.java b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/KubernetesUtils.java
index e9b1a2ecfb8..bc2b65920ad 100644
--- a/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/KubernetesUtils.java
+++ b/flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/KubernetesUtils.java
@@ -26,7 +26,7 @@ import org.apache.flink.configuration.PipelineOptions;
 import org.apache.flink.core.execution.RecoveryClaimMode;
 import org.apache.flink.kubernetes.configuration.KubernetesConfigOptions;
 import org.apache.flink.kubernetes.highavailability.KubernetesCheckpointStoreUtil;
-import org.apache.flink.kubernetes.highavailability.KubernetesJobGraphStoreUtil;
+import org.apache.flink.kubernetes.highavailability.KubernetesExecutionPlanStoreUtil;
 import org.apache.flink.kubernetes.highavailability.KubernetesStateHandleStore;
 import org.apache.flink.kubernetes.kubeclient.FlinkKubeClient;
 import org.apache.flink.kubernetes.kubeclient.FlinkPod;
@@ -37,14 +37,14 @@ import org.apache.flink.runtime.checkpoint.CompletedCheckpointStore;
 import org.apache.flink.runtime.checkpoint.DefaultCompletedCheckpointStore;
 import org.apache.flink.runtime.checkpoint.DefaultCompletedCheckpointStoreUtils;
 import org.apache.flink.runtime.highavailability.HighAvailabilityServicesUtils;
-import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.DefaultJobGraphStore;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
-import org.apache.flink.runtime.jobmanager.NoOpJobGraphStoreWatcher;
+import org.apache.flink.runtime.jobmanager.DefaultExecutionPlanStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
+import org.apache.flink.runtime.jobmanager.NoOpExecutionPlanStoreWatcher;
 import org.apache.flink.runtime.leaderelection.LeaderInformation;
 import org.apache.flink.runtime.persistence.RetrievableStateStorageHelper;
 import org.apache.flink.runtime.persistence.filesystem.FileSystemStateStorageHelper;
 import org.apache.flink.runtime.state.SharedStateRegistryFactory;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.ExceptionUtils;
 import org.apache.flink.util.FlinkException;
 import org.apache.flink.util.FlinkRuntimeException;
@@ -87,10 +87,10 @@ import static org.apache.flink.kubernetes.utils.Constants.CHECKPOINT_ID_KEY_PREF
 import static org.apache.flink.kubernetes.utils.Constants.COMPLETED_CHECKPOINT_FILE_SUFFIX;
 import static org.apache.flink.kubernetes.utils.Constants.DNS_POLICY_DEFAULT;
 import static org.apache.flink.kubernetes.utils.Constants.DNS_POLICY_HOSTNETWORK;
-import static org.apache.flink.kubernetes.utils.Constants.JOB_GRAPH_STORE_KEY_PREFIX;
+import static org.apache.flink.kubernetes.utils.Constants.EXECUTION_PLAN_STORE_KEY_PREFIX;
 import static org.apache.flink.kubernetes.utils.Constants.LEADER_ADDRESS_KEY;
 import static org.apache.flink.kubernetes.utils.Constants.LEADER_SESSION_ID_KEY;
-import static org.apache.flink.kubernetes.utils.Constants.SUBMITTED_JOBGRAPH_FILE_PREFIX;
+import static org.apache.flink.kubernetes.utils.Constants.SUBMITTED_EXECUTION_PLAN_FILE_PREFIX;
 import static org.apache.flink.util.Preconditions.checkNotNull;
 
 /** Common utils for Kubernetes. */
@@ -235,59 +235,59 @@ public class KubernetesUtils {
     }
 
     /**
-     * Create a {@link DefaultJobGraphStore} with {@link NoOpJobGraphStoreWatcher}.
+     * Create a {@link DefaultExecutionPlanStore} with {@link NoOpExecutionPlanStoreWatcher}.
      *
      * @param configuration configuration to build a RetrievableStateStorageHelper
      * @param flinkKubeClient flink kubernetes client
      * @param configMapName ConfigMap name
      * @param lockIdentity lock identity to check the leadership
-     * @return a {@link DefaultJobGraphStore} with {@link NoOpJobGraphStoreWatcher}
+     * @return a {@link DefaultExecutionPlanStore} with {@link NoOpExecutionPlanStoreWatcher}
      * @throws Exception when create the storage helper
      */
-    public static JobGraphStore createJobGraphStore(
+    public static ExecutionPlanStore createExecutionPlanStore(
             Configuration configuration,
             FlinkKubeClient flinkKubeClient,
             String configMapName,
             String lockIdentity)
             throws Exception {
 
-        final KubernetesStateHandleStore<JobGraph> stateHandleStore =
-                createJobGraphStateHandleStore(
+        final KubernetesStateHandleStore<ExecutionPlan> stateHandleStore =
+                createExecutionPlanStateHandleStore(
                         configuration, flinkKubeClient, configMapName, lockIdentity);
-        return new DefaultJobGraphStore<>(
+        return new DefaultExecutionPlanStore<>(
                 stateHandleStore,
-                NoOpJobGraphStoreWatcher.INSTANCE,
-                KubernetesJobGraphStoreUtil.INSTANCE);
+                NoOpExecutionPlanStoreWatcher.INSTANCE,
+                KubernetesExecutionPlanStoreUtil.INSTANCE);
     }
 
     /**
-     * Create a {@link KubernetesStateHandleStore} which storing {@link JobGraph}.
+     * Create a {@link KubernetesStateHandleStore} which storing {@link ExecutionPlan}.
      *
      * @param configuration configuration to build a RetrievableStateStorageHelper
      * @param flinkKubeClient flink kubernetes client
      * @param configMapName ConfigMap name
      * @param lockIdentity lock identity to check the leadership
-     * @return a {@link KubernetesStateHandleStore} which storing {@link JobGraph}.
+     * @return a {@link KubernetesStateHandleStore} which storing {@link ExecutionPlan}.
      * @throws Exception when create the storage helper
      */
-    public static KubernetesStateHandleStore<JobGraph> createJobGraphStateHandleStore(
+    public static KubernetesStateHandleStore<ExecutionPlan> createExecutionPlanStateHandleStore(
             Configuration configuration,
             FlinkKubeClient flinkKubeClient,
             String configMapName,
             String lockIdentity)
             throws Exception {
 
-        final RetrievableStateStorageHelper<JobGraph> stateStorage =
+        final RetrievableStateStorageHelper<ExecutionPlan> stateStorage =
                 new FileSystemStateStorageHelper<>(
                         HighAvailabilityServicesUtils.getClusterHighAvailableStoragePath(
                                 configuration),
-                        SUBMITTED_JOBGRAPH_FILE_PREFIX);
+                        SUBMITTED_EXECUTION_PLAN_FILE_PREFIX);
 
         return new KubernetesStateHandleStore<>(
                 flinkKubeClient,
                 configMapName,
                 stateStorage,
-                k -> k.startsWith(JOB_GRAPH_STORE_KEY_PREFIX),
+                k -> k.startsWith(EXECUTION_PLAN_STORE_KEY_PREFIX),
                 lockIdentity);
     }
 
diff --git a/flink-kubernetes/src/test/java/org/apache/flink/kubernetes/highavailability/KubernetesStateHandleStoreITCase.java b/flink-kubernetes/src/test/java/org/apache/flink/kubernetes/highavailability/KubernetesStateHandleStoreITCase.java
index 3f6606e4bd4..6d48ec853d4 100644
--- a/flink-kubernetes/src/test/java/org/apache/flink/kubernetes/highavailability/KubernetesStateHandleStoreITCase.java
+++ b/flink-kubernetes/src/test/java/org/apache/flink/kubernetes/highavailability/KubernetesStateHandleStoreITCase.java
@@ -38,7 +38,7 @@ import static org.assertj.core.api.Assertions.assertThat;
  * IT Tests for the {@link KubernetesStateHandleStore}. We expect only the leader could update the
  * state store. The standby JobManagers update operations should not be issued. This is a
  * "check-leadership-and-update" behavior test. It is a very basic requirement for {@link
- * org.apache.flink.runtime.jobmanager.JobGraphStore} and {@link
+ * org.apache.flink.runtime.jobmanager.ExecutionPlanStore} and {@link
  * org.apache.flink.runtime.checkpoint.CompletedCheckpointStore} implementation for Kubernetes.
  */
 class KubernetesStateHandleStoreITCase {
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java
index 32ebf210fe1..221cd0609de 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/Dispatcher.java
@@ -61,7 +61,7 @@ import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobResourceRequirements;
 import org.apache.flink.runtime.jobgraph.JobVertex;
 import org.apache.flink.runtime.jobgraph.JobVertexID;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.jobmaster.JobManagerRunner;
 import org.apache.flink.runtime.jobmaster.JobManagerRunnerResult;
 import org.apache.flink.runtime.jobmaster.JobManagerSharedServices;
@@ -91,6 +91,7 @@ import org.apache.flink.runtime.rpc.RpcService;
 import org.apache.flink.runtime.rpc.RpcServiceUtils;
 import org.apache.flink.runtime.scheduler.ExecutionGraphInfo;
 import org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.streaming.api.graph.StreamingJobGraphGenerator;
 import org.apache.flink.util.CollectionUtil;
 import org.apache.flink.util.ExceptionUtils;
@@ -151,7 +152,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
 
     private final Configuration configuration;
 
-    private final JobGraphWriter jobGraphWriter;
+    private final ExecutionPlanWriter executionPlanWriter;
     private final JobResultStore jobResultStore;
 
     private final HighAvailabilityServices highAvailabilityServices;
@@ -165,7 +166,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
 
     private final OnMainThreadJobManagerRunnerRegistry jobManagerRunnerRegistry;
 
-    private final Collection<JobGraph> recoveredJobs;
+    private final Collection<ExecutionPlan> recoveredJobs;
 
     private final Collection<JobResult> recoveredDirtyJobs;
 
@@ -218,7 +219,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
     public Dispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobs,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             DispatcherServices dispatcherServices)
@@ -236,7 +237,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
     private Dispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobs,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             DispatcherServices dispatcherServices,
@@ -257,7 +258,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
     protected Dispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobs,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             DispatcherServices dispatcherServices,
@@ -275,7 +276,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
         this.blobServer = dispatcherServices.getBlobServer();
         this.fatalErrorHandler = dispatcherServices.getFatalErrorHandler();
         this.failureEnrichers = dispatcherServices.getFailureEnrichers();
-        this.jobGraphWriter = dispatcherServices.getJobGraphWriter();
+        this.executionPlanWriter = dispatcherServices.getExecutionPlanWriter();
         this.jobResultStore = dispatcherServices.getJobResultStore();
         this.jobManagerMetricGroup = dispatcherServices.getJobManagerMetricGroup();
         this.metricServiceQueryAddress = dispatcherServices.getMetricQueryServiceAddress();
@@ -310,7 +311,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
         this.recoveredDirtyJobs = new HashSet<>(recoveredDirtyJobs);
 
         this.blobServer.retainJobs(
-                recoveredJobs.stream().map(JobGraph::getJobID).collect(Collectors.toSet()),
+                recoveredJobs.stream().map(ExecutionPlan::getJobID).collect(Collectors.toSet()),
                 dispatcherServices.getIoExecutor());
 
         this.dispatcherCachedOperationsHandler =
@@ -374,27 +375,28 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
     }
 
     private static void assertRecoveredJobsAndDirtyJobResults(
-            Collection<JobGraph> recoveredJobs, Collection<JobResult> recoveredDirtyJobResults) {
+            Collection<ExecutionPlan> recoveredJobs,
+            Collection<JobResult> recoveredDirtyJobResults) {
         final Set<JobID> jobIdsOfFinishedJobs =
                 recoveredDirtyJobResults.stream()
                         .map(JobResult::getJobId)
                         .collect(Collectors.toSet());
 
-        final boolean noRecoveredJobGraphHasDirtyJobResult =
+        final boolean noRecoveredExecutionPlanHasDirtyJobResult =
                 recoveredJobs.stream()
                         .noneMatch(
-                                recoveredJobGraph ->
+                                recoveredExecutionPlan ->
                                         jobIdsOfFinishedJobs.contains(
-                                                recoveredJobGraph.getJobID()));
+                                                recoveredExecutionPlan.getJobID()));
 
         Preconditions.checkArgument(
-                noRecoveredJobGraphHasDirtyJobResult,
-                "There should be no overlap between the recovered JobGraphs and the passed dirty JobResults based on their job ID.");
+                noRecoveredExecutionPlanHasDirtyJobResult,
+                "There should be no overlap between the recovered ExecutionPlans and the passed dirty JobResults based on their job ID.");
     }
 
     private void startRecoveredJobs() {
-        for (JobGraph recoveredJob : recoveredJobs) {
-            runRecoveredJob(recoveredJob);
+        for (ExecutionPlan recoveredJob : recoveredJobs) {
+            runRecoveredJob((JobGraph) recoveredJob);
         }
         recoveredJobs.clear();
     }
@@ -628,7 +630,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
     }
 
     private void persistAndRunJob(JobGraph jobGraph) throws Exception {
-        jobGraphWriter.putJobGraph(jobGraph);
+        executionPlanWriter.putExecutionPlan(jobGraph);
         initJobClientExpiredTime(jobGraph);
         runJob(createJobMasterRunner(jobGraph), ExecutionType.SUBMISSION);
     }
@@ -1169,7 +1171,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
                 .thenRunAsync(
                         () -> {
                             try {
-                                jobGraphWriter.putJobResourceRequirements(
+                                executionPlanWriter.putJobResourceRequirements(
                                         jobId, jobResourceRequirements);
                             } catch (Exception e) {
                                 throw new CompletionException(
@@ -1580,7 +1582,7 @@ public abstract class Dispatcher extends FencedRpcEndpoint<DispatcherId>
                 () -> (long) jobManagerRunnerRegistry.getWrappedDelegate().size());
     }
 
-    public CompletableFuture<Void> onRemovedJobGraph(JobID jobId) {
+    public CompletableFuture<Void> onRemovedExecutionPlan(JobID jobId) {
         return CompletableFuture.runAsync(() -> terminateJob(jobId), getMainThreadExecutor(jobId));
     }
 
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherFactory.java
index 547bda32de2..b7cc00e2a77 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherFactory.java
@@ -18,9 +18,9 @@
 
 package org.apache.flink.runtime.dispatcher;
 
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 
 import java.util.Collection;
 
@@ -31,7 +31,7 @@ public interface DispatcherFactory {
     Dispatcher createDispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobResults,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             PartialDispatcherServicesWithJobPersistenceComponents
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherServices.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherServices.java
index e3fd5f90702..600573b52db 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherServices.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/DispatcherServices.java
@@ -25,7 +25,7 @@ import org.apache.flink.runtime.dispatcher.cleanup.CleanupRunnerFactory;
 import org.apache.flink.runtime.heartbeat.HeartbeatServices;
 import org.apache.flink.runtime.highavailability.HighAvailabilityServices;
 import org.apache.flink.runtime.highavailability.JobResultStore;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.metrics.groups.JobManagerMetricGroup;
 import org.apache.flink.runtime.resourcemanager.ResourceManagerGateway;
 import org.apache.flink.runtime.rpc.FatalErrorHandler;
@@ -62,7 +62,7 @@ public class DispatcherServices {
 
     private final DispatcherOperationCaches operationCaches;
 
-    private final JobGraphWriter jobGraphWriter;
+    private final ExecutionPlanWriter executionPlanWriter;
 
     private final JobResultStore jobResultStore;
 
@@ -86,7 +86,7 @@ public class DispatcherServices {
             @Nullable String metricQueryServiceAddress,
             DispatcherOperationCaches operationCaches,
             JobManagerMetricGroup jobManagerMetricGroup,
-            JobGraphWriter jobGraphWriter,
+            ExecutionPlanWriter planWriter,
             JobResultStore jobResultStore,
             JobManagerRunnerFactory jobManagerRunnerFactory,
             CleanupRunnerFactory cleanupRunnerFactory,
@@ -109,7 +109,7 @@ public class DispatcherServices {
         this.operationCaches = Preconditions.checkNotNull(operationCaches, "OperationCaches");
         this.jobManagerMetricGroup =
                 Preconditions.checkNotNull(jobManagerMetricGroup, "JobManagerMetricGroup");
-        this.jobGraphWriter = Preconditions.checkNotNull(jobGraphWriter, "JobGraphWriter");
+        this.executionPlanWriter = Preconditions.checkNotNull(planWriter, "ExecutionPlanWriter");
         this.jobResultStore = Preconditions.checkNotNull(jobResultStore, "JobResultStore");
         this.jobManagerRunnerFactory =
                 Preconditions.checkNotNull(jobManagerRunnerFactory, "JobManagerRunnerFactory");
@@ -164,8 +164,8 @@ public class DispatcherServices {
         return operationCaches;
     }
 
-    public JobGraphWriter getJobGraphWriter() {
-        return jobGraphWriter;
+    public ExecutionPlanWriter getExecutionPlanWriter() {
+        return executionPlanWriter;
     }
 
     public JobResultStore getJobResultStore() {
@@ -210,7 +210,7 @@ public class DispatcherServices {
                 partialDispatcherServicesWithJobPersistenceComponents
                         .getJobManagerMetricGroupFactory()
                         .create(),
-                partialDispatcherServicesWithJobPersistenceComponents.getJobGraphWriter(),
+                partialDispatcherServicesWithJobPersistenceComponents.getExecutionPlanWriter(),
                 partialDispatcherServicesWithJobPersistenceComponents.getJobResultStore(),
                 jobManagerRunnerFactory,
                 cleanupRunnerFactory,
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/JobDispatcherFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/JobDispatcherFactory.java
index 4b3f613980c..5a3baa170b3 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/JobDispatcherFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/JobDispatcherFactory.java
@@ -21,9 +21,9 @@ package org.apache.flink.runtime.dispatcher;
 import org.apache.flink.configuration.Configuration;
 import org.apache.flink.runtime.dispatcher.cleanup.CheckpointResourcesCleanupRunnerFactory;
 import org.apache.flink.runtime.entrypoint.ClusterEntrypoint;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.Preconditions;
 
 import org.apache.flink.shaded.guava32.com.google.common.collect.Iterables;
@@ -40,19 +40,19 @@ public enum JobDispatcherFactory implements DispatcherFactory {
     public MiniDispatcher createDispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobResults,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             PartialDispatcherServicesWithJobPersistenceComponents
                     partialDispatcherServicesWithJobPersistenceComponents)
             throws Exception {
-        final JobGraph recoveredJobGraph = Iterables.getOnlyElement(recoveredJobs, null);
+        final ExecutionPlan recoveredExecutionPlan = Iterables.getOnlyElement(recoveredJobs, null);
         final JobResult recoveredDirtyJob =
                 Iterables.getOnlyElement(recoveredDirtyJobResults, null);
 
         Preconditions.checkArgument(
-                recoveredJobGraph == null ^ recoveredDirtyJob == null,
-                "Either the JobGraph or the recovered JobResult needs to be specified.");
+                recoveredExecutionPlan == null ^ recoveredDirtyJob == null,
+                "Either the ExecutionPlan or the recovered JobResult needs to be specified.");
 
         final Configuration configuration =
                 partialDispatcherServicesWithJobPersistenceComponents.getConfiguration();
@@ -67,7 +67,7 @@ public enum JobDispatcherFactory implements DispatcherFactory {
                         partialDispatcherServicesWithJobPersistenceComponents,
                         JobMasterServiceLeadershipRunnerFactory.INSTANCE,
                         CheckpointResourcesCleanupRunnerFactory.INSTANCE),
-                recoveredJobGraph,
+                recoveredExecutionPlan,
                 recoveredDirtyJob,
                 dispatcherBootstrapFactory,
                 executionMode);
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/MiniDispatcher.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/MiniDispatcher.java
index bbca3af0fa5..76c16c4d217 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/MiniDispatcher.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/MiniDispatcher.java
@@ -29,6 +29,7 @@ import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.messages.Acknowledge;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.CollectionUtil;
 import org.apache.flink.util.FlinkException;
 
@@ -43,7 +44,7 @@ import static org.apache.flink.util.Preconditions.checkNotNull;
  * Mini Dispatcher which is instantiated as the dispatcher component by the {@link
  * JobClusterEntrypoint}.
  *
- * <p>The mini dispatcher is initialized with a single {@link JobGraph} which it runs.
+ * <p>The mini dispatcher is initialized with a single {@link ExecutionPlan} which it runs.
  *
  * <p>Depending on the {@link ClusterEntrypoint.ExecutionMode}, the mini dispatcher will directly
  * terminate after job completion if its execution mode is {@link
@@ -58,7 +59,7 @@ public class MiniDispatcher extends Dispatcher {
             RpcService rpcService,
             DispatcherId fencingToken,
             DispatcherServices dispatcherServices,
-            @Nullable JobGraph jobGraph,
+            @Nullable ExecutionPlan executionPlan,
             @Nullable JobResult recoveredDirtyJob,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             JobClusterEntrypoint.ExecutionMode executionMode)
@@ -66,7 +67,7 @@ public class MiniDispatcher extends Dispatcher {
         super(
                 rpcService,
                 fencingToken,
-                CollectionUtil.ofNullable(jobGraph),
+                CollectionUtil.ofNullable(executionPlan),
                 CollectionUtil.ofNullable(recoveredDirtyJob),
                 dispatcherBootstrapFactory,
                 dispatcherServices);
@@ -79,7 +80,7 @@ public class MiniDispatcher extends Dispatcher {
             RpcService rpcService,
             DispatcherId fencingToken,
             DispatcherServices dispatcherServices,
-            @Nullable JobGraph jobGraph,
+            @Nullable ExecutionPlan executionPlan,
             @Nullable JobResult recoveredDirtyJob,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             JobManagerRunnerRegistry jobManagerRunnerRegistry,
@@ -89,7 +90,7 @@ public class MiniDispatcher extends Dispatcher {
         super(
                 rpcService,
                 fencingToken,
-                CollectionUtil.ofNullable(jobGraph),
+                CollectionUtil.ofNullable(executionPlan),
                 CollectionUtil.ofNullable(recoveredDirtyJob),
                 dispatcherBootstrapFactory,
                 dispatcherServices,
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/PartialDispatcherServicesWithJobPersistenceComponents.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/PartialDispatcherServicesWithJobPersistenceComponents.java
index 7689bfc6e72..2c967a52649 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/PartialDispatcherServicesWithJobPersistenceComponents.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/PartialDispatcherServicesWithJobPersistenceComponents.java
@@ -24,7 +24,7 @@ import org.apache.flink.runtime.blob.BlobServer;
 import org.apache.flink.runtime.heartbeat.HeartbeatServices;
 import org.apache.flink.runtime.highavailability.HighAvailabilityServices;
 import org.apache.flink.runtime.highavailability.JobResultStore;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.resourcemanager.ResourceManagerGateway;
 import org.apache.flink.runtime.rpc.FatalErrorHandler;
 import org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever;
@@ -38,7 +38,7 @@ import java.util.concurrent.Executor;
 public class PartialDispatcherServicesWithJobPersistenceComponents
         extends PartialDispatcherServices {
 
-    private final JobGraphWriter jobGraphWriter;
+    private final ExecutionPlanWriter executionPlanWriter;
     private final JobResultStore jobResultStore;
 
     private PartialDispatcherServicesWithJobPersistenceComponents(
@@ -55,7 +55,7 @@ public class PartialDispatcherServicesWithJobPersistenceComponents
             Executor ioExecutor,
             DispatcherOperationCaches operationCaches,
             Collection<FailureEnricher> failureEnrichers,
-            JobGraphWriter jobGraphWriter,
+            ExecutionPlanWriter executionPlanWriter,
             JobResultStore jobResultStore) {
         super(
                 configuration,
@@ -71,12 +71,12 @@ public class PartialDispatcherServicesWithJobPersistenceComponents
                 ioExecutor,
                 operationCaches,
                 failureEnrichers);
-        this.jobGraphWriter = jobGraphWriter;
+        this.executionPlanWriter = executionPlanWriter;
         this.jobResultStore = jobResultStore;
     }
 
-    public JobGraphWriter getJobGraphWriter() {
-        return jobGraphWriter;
+    public ExecutionPlanWriter getExecutionPlanWriter() {
+        return executionPlanWriter;
     }
 
     public JobResultStore getJobResultStore() {
@@ -85,7 +85,7 @@ public class PartialDispatcherServicesWithJobPersistenceComponents
 
     public static PartialDispatcherServicesWithJobPersistenceComponents from(
             PartialDispatcherServices partialDispatcherServices,
-            JobGraphWriter jobGraphWriter,
+            ExecutionPlanWriter executionPlanWriter,
             JobResultStore jobResultStore) {
         return new PartialDispatcherServicesWithJobPersistenceComponents(
                 partialDispatcherServices.getConfiguration(),
@@ -101,7 +101,7 @@ public class PartialDispatcherServicesWithJobPersistenceComponents
                 partialDispatcherServices.getIoExecutor(),
                 partialDispatcherServices.getOperationCaches(),
                 partialDispatcherServices.getFailureEnrichers(),
-                jobGraphWriter,
+                executionPlanWriter,
                 jobResultStore);
     }
 }
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/SessionDispatcherFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/SessionDispatcherFactory.java
index e885958740b..239349c60f6 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/SessionDispatcherFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/SessionDispatcherFactory.java
@@ -19,9 +19,9 @@
 package org.apache.flink.runtime.dispatcher;
 
 import org.apache.flink.runtime.dispatcher.cleanup.CheckpointResourcesCleanupRunnerFactory;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 
 import java.util.Collection;
 
@@ -33,7 +33,7 @@ public enum SessionDispatcherFactory implements DispatcherFactory {
     public StandaloneDispatcher createDispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobResults,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             PartialDispatcherServicesWithJobPersistenceComponents
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/StandaloneDispatcher.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/StandaloneDispatcher.java
index 3bb10734ed8..58b34f8bd97 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/StandaloneDispatcher.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/StandaloneDispatcher.java
@@ -22,6 +22,7 @@ import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobmaster.JobMaster;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 
 import java.util.Collection;
 
@@ -34,7 +35,7 @@ public class StandaloneDispatcher extends Dispatcher {
     public StandaloneDispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobResults,
             DispatcherBootstrapFactory dispatcherBootstrapFactory,
             DispatcherServices dispatcherServices)
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactory.java
index f14d7aaead6..124407bb7c1 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactory.java
@@ -24,7 +24,7 @@ import org.apache.flink.runtime.concurrent.ComponentMainThreadExecutor;
 import org.apache.flink.runtime.dispatcher.DispatcherServices;
 import org.apache.flink.runtime.dispatcher.JobManagerRunnerRegistry;
 import org.apache.flink.runtime.highavailability.HighAvailabilityServices;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.metrics.groups.JobManagerMetricGroup;
 import org.apache.flink.util.Preconditions;
 import org.apache.flink.util.concurrent.RetryStrategy;
@@ -44,7 +44,7 @@ import java.util.concurrent.Executor;
 public class DispatcherResourceCleanerFactory implements ResourceCleanerFactory {
 
     private static final String JOB_MANAGER_RUNNER_REGISTRY_LABEL = "JobManagerRunnerRegistry";
-    private static final String JOB_GRAPH_STORE_LABEL = "JobGraphStore";
+    private static final String EXECUTION_PLAN_STORE_LABEL = "ExecutionPlanStore";
     private static final String BLOB_SERVER_LABEL = "BlobServer";
     private static final String HA_SERVICES_LABEL = "HighAvailabilityServices";
     private static final String JOB_MANAGER_METRIC_GROUP_LABEL = "JobManagerMetricGroup";
@@ -53,7 +53,7 @@ public class DispatcherResourceCleanerFactory implements ResourceCleanerFactory
     private final RetryStrategy retryStrategy;
 
     private final JobManagerRunnerRegistry jobManagerRunnerRegistry;
-    private final JobGraphWriter jobGraphWriter;
+    private final ExecutionPlanWriter executionPlanWriter;
     private final BlobServer blobServer;
     private final HighAvailabilityServices highAvailabilityServices;
     private final JobManagerMetricGroup jobManagerMetricGroup;
@@ -66,7 +66,7 @@ public class DispatcherResourceCleanerFactory implements ResourceCleanerFactory
                 CleanupRetryStrategyFactory.INSTANCE.createRetryStrategy(
                         dispatcherServices.getConfiguration()),
                 jobManagerRunnerRegistry,
-                dispatcherServices.getJobGraphWriter(),
+                dispatcherServices.getExecutionPlanWriter(),
                 dispatcherServices.getBlobServer(),
                 dispatcherServices.getHighAvailabilityServices(),
                 dispatcherServices.getJobManagerMetricGroup());
@@ -77,14 +77,14 @@ public class DispatcherResourceCleanerFactory implements ResourceCleanerFactory
             Executor cleanupExecutor,
             RetryStrategy retryStrategy,
             JobManagerRunnerRegistry jobManagerRunnerRegistry,
-            JobGraphWriter jobGraphWriter,
+            ExecutionPlanWriter executionPlanWriter,
             BlobServer blobServer,
             HighAvailabilityServices highAvailabilityServices,
             JobManagerMetricGroup jobManagerMetricGroup) {
         this.cleanupExecutor = Preconditions.checkNotNull(cleanupExecutor);
         this.retryStrategy = retryStrategy;
         this.jobManagerRunnerRegistry = Preconditions.checkNotNull(jobManagerRunnerRegistry);
-        this.jobGraphWriter = Preconditions.checkNotNull(jobGraphWriter);
+        this.executionPlanWriter = Preconditions.checkNotNull(executionPlanWriter);
         this.blobServer = Preconditions.checkNotNull(blobServer);
         this.highAvailabilityServices = Preconditions.checkNotNull(highAvailabilityServices);
         this.jobManagerMetricGroup = Preconditions.checkNotNull(jobManagerMetricGroup);
@@ -96,7 +96,7 @@ public class DispatcherResourceCleanerFactory implements ResourceCleanerFactory
         return DefaultResourceCleaner.forLocallyCleanableResources(
                         mainThreadExecutor, cleanupExecutor, retryStrategy)
                 .withPrioritizedCleanup(JOB_MANAGER_RUNNER_REGISTRY_LABEL, jobManagerRunnerRegistry)
-                .withRegularCleanup(JOB_GRAPH_STORE_LABEL, jobGraphWriter)
+                .withRegularCleanup(EXECUTION_PLAN_STORE_LABEL, executionPlanWriter)
                 .withRegularCleanup(BLOB_SERVER_LABEL, blobServer)
                 .withRegularCleanup(JOB_MANAGER_METRIC_GROUP_LABEL, jobManagerMetricGroup)
                 .build();
@@ -110,7 +110,7 @@ public class DispatcherResourceCleanerFactory implements ResourceCleanerFactory
                 .withPrioritizedCleanup(
                         JOB_MANAGER_RUNNER_REGISTRY_LABEL,
                         ofLocalResource(jobManagerRunnerRegistry))
-                .withRegularCleanup(JOB_GRAPH_STORE_LABEL, jobGraphWriter)
+                .withRegularCleanup(EXECUTION_PLAN_STORE_LABEL, executionPlanWriter)
                 .withRegularCleanup(BLOB_SERVER_LABEL, blobServer)
                 .withRegularCleanup(HA_SERVICES_LABEL, highAvailabilityServices)
                 .withRegularCleanup(
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/AbstractDispatcherLeaderProcess.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/AbstractDispatcherLeaderProcess.java
index faf161e1ba1..f84ca53baa6 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/AbstractDispatcherLeaderProcess.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/AbstractDispatcherLeaderProcess.java
@@ -25,11 +25,11 @@ import org.apache.flink.runtime.clusterframework.ApplicationStatus;
 import org.apache.flink.runtime.dispatcher.DispatcherGateway;
 import org.apache.flink.runtime.dispatcher.DispatcherId;
 import org.apache.flink.runtime.highavailability.JobResultStore;
-import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.FatalErrorHandler;
 import org.apache.flink.runtime.webmonitor.RestfulGateway;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.AutoCloseableAsync;
 import org.apache.flink.util.FlinkException;
 import org.apache.flink.util.Preconditions;
@@ -258,9 +258,9 @@ public abstract class AbstractDispatcherLeaderProcess implements DispatcherLeade
     public interface DispatcherGatewayServiceFactory {
         DispatcherGatewayService create(
                 DispatcherId dispatcherId,
-                Collection<JobGraph> recoveredJobs,
+                Collection<ExecutionPlan> recoveredJobs,
                 Collection<JobResult> recoveredDirtyJobResults,
-                JobGraphWriter jobGraphWriter,
+                ExecutionPlanWriter executionPlanWriter,
                 JobResultStore jobResultStore);
     }
 
@@ -268,7 +268,7 @@ public abstract class AbstractDispatcherLeaderProcess implements DispatcherLeade
     public interface DispatcherGatewayService extends AutoCloseableAsync {
         DispatcherGateway getGateway();
 
-        CompletableFuture<Void> onRemovedJobGraph(JobID jobId);
+        CompletableFuture<Void> onRemovedExecutionPlan(JobID jobId);
 
         CompletableFuture<ApplicationStatus> getShutDownFuture();
 
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayService.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayService.java
index 627bcb7f1d6..944ce14212e 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayService.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayService.java
@@ -45,8 +45,8 @@ public class DefaultDispatcherGatewayService
     }
 
     @Override
-    public CompletableFuture<Void> onRemovedJobGraph(JobID jobId) {
-        return dispatcher.onRemovedJobGraph(jobId);
+    public CompletableFuture<Void> onRemovedExecutionPlan(JobID jobId) {
+        return dispatcher.onRemovedExecutionPlan(jobId);
     }
 
     @Override
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayServiceFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayServiceFactory.java
index 40498fee7df..b0e2c712e44 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayServiceFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherGatewayServiceFactory.java
@@ -25,10 +25,10 @@ import org.apache.flink.runtime.dispatcher.NoOpDispatcherBootstrap;
 import org.apache.flink.runtime.dispatcher.PartialDispatcherServices;
 import org.apache.flink.runtime.dispatcher.PartialDispatcherServicesWithJobPersistenceComponents;
 import org.apache.flink.runtime.highavailability.JobResultStore;
-import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.RpcService;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.FlinkRuntimeException;
 
 import java.util.Collection;
@@ -55,9 +55,9 @@ class DefaultDispatcherGatewayServiceFactory
     @Override
     public AbstractDispatcherLeaderProcess.DispatcherGatewayService create(
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobResults,
-            JobGraphWriter jobGraphWriter,
+            ExecutionPlanWriter executionPlanWriter,
             JobResultStore jobResultStore) {
 
         final Dispatcher dispatcher;
@@ -71,7 +71,9 @@ class DefaultDispatcherGatewayServiceFactory
                             (dispatcherGateway, scheduledExecutor, errorHandler) ->
                                     new NoOpDispatcherBootstrap(),
                             PartialDispatcherServicesWithJobPersistenceComponents.from(
-                                    partialDispatcherServices, jobGraphWriter, jobResultStore));
+                                    partialDispatcherServices,
+                                    executionPlanWriter,
+                                    jobResultStore));
         } catch (Exception e) {
             throw new FlinkRuntimeException("Could not create the Dispatcher rpc endpoint.", e);
         }
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcess.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcess.java
index 6f56e2cf7db..4a48f821ec0 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcess.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcess.java
@@ -21,7 +21,7 @@ package org.apache.flink.runtime.dispatcher.runner;
 import org.apache.flink.runtime.dispatcher.DispatcherId;
 import org.apache.flink.runtime.highavailability.JobResultStore;
 import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.ThrowingJobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ThrowingExecutionPlanWriter;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.FatalErrorHandler;
 import org.apache.flink.util.CollectionUtil;
@@ -62,7 +62,7 @@ public class JobDispatcherLeaderProcess extends AbstractDispatcherLeaderProcess
                         DispatcherId.fromUuid(getLeaderSessionId()),
                         CollectionUtil.ofNullable(jobGraph),
                         CollectionUtil.ofNullable(recoveredDirtyJobResult),
-                        ThrowingJobGraphWriter.INSTANCE,
+                        ThrowingExecutionPlanWriter.INSTANCE,
                         jobResultStore);
 
         completeDispatcherSetup(dispatcherService);
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcess.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcess.java
index 5b74536781d..a5de0c7a3c6 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcess.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcess.java
@@ -25,10 +25,11 @@ import org.apache.flink.runtime.dispatcher.DispatcherGateway;
 import org.apache.flink.runtime.dispatcher.DispatcherId;
 import org.apache.flink.runtime.highavailability.JobResultStore;
 import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rpc.FatalErrorHandler;
 import org.apache.flink.runtime.rpc.RpcUtils;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.ExceptionUtils;
 import org.apache.flink.util.FlinkRuntimeException;
 import org.apache.flink.util.Preconditions;
@@ -52,11 +53,11 @@ import java.util.stream.Collectors;
  * Dispatcher}.
  */
 public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProcess
-        implements JobGraphStore.JobGraphListener {
+        implements ExecutionPlanStore.ExecutionPlanListener {
 
     private final DispatcherGatewayServiceFactory dispatcherGatewayServiceFactory;
 
-    private final JobGraphStore jobGraphStore;
+    private final ExecutionPlanStore executionPlanStore;
 
     private final JobResultStore jobResultStore;
 
@@ -67,14 +68,14 @@ public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProc
     private SessionDispatcherLeaderProcess(
             UUID leaderSessionId,
             DispatcherGatewayServiceFactory dispatcherGatewayServiceFactory,
-            JobGraphStore jobGraphStore,
+            ExecutionPlanStore executionPlanStore,
             JobResultStore jobResultStore,
             Executor ioExecutor,
             FatalErrorHandler fatalErrorHandler) {
         super(leaderSessionId, fatalErrorHandler);
 
         this.dispatcherGatewayServiceFactory = dispatcherGatewayServiceFactory;
-        this.jobGraphStore = jobGraphStore;
+        this.executionPlanStore = executionPlanStore;
         this.jobResultStore = jobResultStore;
         this.ioExecutor = ioExecutor;
     }
@@ -84,42 +85,46 @@ public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProc
         startServices();
 
         onGoingRecoveryOperation =
-                createDispatcherBasedOnRecoveredJobGraphsAndRecoveredDirtyJobResults();
+                createDispatcherBasedOnRecoveredExecutionPlansAndRecoveredDirtyJobResults();
     }
 
     private void startServices() {
         try {
-            jobGraphStore.start(this);
+            executionPlanStore.start(this);
         } catch (Exception e) {
             throw new FlinkRuntimeException(
                     String.format(
                             "Could not start %s when trying to start the %s.",
-                            jobGraphStore.getClass().getSimpleName(), getClass().getSimpleName()),
+                            executionPlanStore.getClass().getSimpleName(),
+                            getClass().getSimpleName()),
                     e);
         }
     }
 
     private void createDispatcherIfRunning(
-            Collection<JobGraph> jobGraphs, Collection<JobResult> recoveredDirtyJobResults) {
-        runIfStateIs(State.RUNNING, () -> createDispatcher(jobGraphs, recoveredDirtyJobResults));
+            Collection<ExecutionPlan> executionPlans,
+            Collection<JobResult> recoveredDirtyJobResults) {
+        runIfStateIs(
+                State.RUNNING, () -> createDispatcher(executionPlans, recoveredDirtyJobResults));
     }
 
     private void createDispatcher(
-            Collection<JobGraph> jobGraphs, Collection<JobResult> recoveredDirtyJobResults) {
+            Collection<ExecutionPlan> executionPlans,
+            Collection<JobResult> recoveredDirtyJobResults) {
 
         final DispatcherGatewayService dispatcherService =
                 dispatcherGatewayServiceFactory.create(
                         DispatcherId.fromUuid(getLeaderSessionId()),
-                        jobGraphs,
+                        executionPlans,
                         recoveredDirtyJobResults,
-                        jobGraphStore,
+                        executionPlanStore,
                         jobResultStore);
 
         completeDispatcherSetup(dispatcherService);
     }
 
     private CompletableFuture<Void>
-            createDispatcherBasedOnRecoveredJobGraphsAndRecoveredDirtyJobResults() {
+            createDispatcherBasedOnRecoveredExecutionPlansAndRecoveredDirtyJobResults() {
         final CompletableFuture<Collection<JobResult>> dirtyJobsFuture =
                 CompletableFuture.supplyAsync(this::getDirtyJobResultsIfRunning, ioExecutor);
 
@@ -135,19 +140,19 @@ public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProc
                 .handle(this::onErrorIfRunning);
     }
 
-    private Collection<JobGraph> recoverJobsIfRunning(Set<JobID> recoveredDirtyJobResults) {
+    private Collection<ExecutionPlan> recoverJobsIfRunning(Set<JobID> recoveredDirtyJobResults) {
         return supplyUnsynchronizedIfRunning(() -> recoverJobs(recoveredDirtyJobResults))
                 .orElse(Collections.emptyList());
     }
 
-    private Collection<JobGraph> recoverJobs(Set<JobID> recoveredDirtyJobResults) {
+    private Collection<ExecutionPlan> recoverJobs(Set<JobID> recoveredDirtyJobResults) {
         log.info("Recover all persisted job graphs that are not finished, yet.");
         final Collection<JobID> jobIds = getJobIds();
-        final Collection<JobGraph> recoveredJobGraphs = new ArrayList<>();
+        final Collection<ExecutionPlan> recoveredExecutionPlans = new ArrayList<>();
 
         for (JobID jobId : jobIds) {
             if (!recoveredDirtyJobResults.contains(jobId)) {
-                tryRecoverJob(jobId).ifPresent(recoveredJobGraphs::add);
+                tryRecoverJob(jobId).ifPresent(recoveredExecutionPlans::add);
             } else {
                 log.info(
                         "Skipping recovery of a job with job id {}, because it already reached a globally terminal state",
@@ -155,29 +160,29 @@ public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProc
             }
         }
 
-        log.info("Successfully recovered {} persisted job graphs.", recoveredJobGraphs.size());
+        log.info("Successfully recovered {} persisted job graphs.", recoveredExecutionPlans.size());
 
-        return recoveredJobGraphs;
+        return recoveredExecutionPlans;
     }
 
     private Collection<JobID> getJobIds() {
         try {
-            return jobGraphStore.getJobIds();
+            return executionPlanStore.getJobIds();
         } catch (Exception e) {
             throw new FlinkRuntimeException("Could not retrieve job ids of persisted jobs.", e);
         }
     }
 
-    private Optional<JobGraph> tryRecoverJob(JobID jobId) {
+    private Optional<ExecutionPlan> tryRecoverJob(JobID jobId) {
         log.info("Trying to recover job with job id {}.", jobId);
         try {
-            final JobGraph jobGraph = jobGraphStore.recoverJobGraph(jobId);
-            if (jobGraph == null) {
+            final ExecutionPlan executionPlan = executionPlanStore.recoverExecutionPlan(jobId);
+            if (executionPlan == null) {
                 log.info(
                         "Skipping recovery of job with job id {}, because it already finished in a previous execution",
                         jobId);
             }
-            return Optional.ofNullable(jobGraph);
+            return Optional.ofNullable(executionPlan);
         } catch (Exception e) {
             throw new FlinkRuntimeException(
                     String.format("Could not recover job with job id %s.", jobId), e);
@@ -206,48 +211,48 @@ public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProc
 
     private void stopServices() {
         try {
-            jobGraphStore.stop();
+            executionPlanStore.stop();
         } catch (Exception e) {
             ExceptionUtils.rethrow(e);
         }
     }
 
     // ------------------------------------------------------------
-    // JobGraphListener
+    // ExecutionPlanListener
     // ------------------------------------------------------------
 
     @Override
-    public void onAddedJobGraph(JobID jobId) {
-        runIfStateIs(State.RUNNING, () -> handleAddedJobGraph(jobId));
+    public void onAddedExecutionPlan(JobID jobId) {
+        runIfStateIs(State.RUNNING, () -> handleAddedExecutionPlan(jobId));
     }
 
-    private void handleAddedJobGraph(JobID jobId) {
+    private void handleAddedExecutionPlan(JobID jobId) {
         log.debug(
                 "Job {} has been added to the {} by another process.",
                 jobId,
-                jobGraphStore.getClass().getSimpleName());
+                executionPlanStore.getClass().getSimpleName());
 
         // serialize all ongoing recovery operations
         onGoingRecoveryOperation =
                 onGoingRecoveryOperation
                         .thenApplyAsync(ignored -> recoverJobIfRunning(jobId), ioExecutor)
                         .thenCompose(
-                                optionalJobGraph ->
-                                        optionalJobGraph
+                                optionalExecutionPlan ->
+                                        optionalExecutionPlan
                                                 .flatMap(this::submitAddedJobIfRunning)
                                                 .orElse(FutureUtils.completedVoidFuture()))
                         .handle(this::onErrorIfRunning);
     }
 
-    private Optional<CompletableFuture<Void>> submitAddedJobIfRunning(JobGraph jobGraph) {
-        return supplyIfRunning(() -> submitAddedJob(jobGraph));
+    private Optional<CompletableFuture<Void>> submitAddedJobIfRunning(ExecutionPlan executionPlan) {
+        return supplyIfRunning(() -> submitAddedJob(executionPlan));
     }
 
-    private CompletableFuture<Void> submitAddedJob(JobGraph jobGraph) {
+    private CompletableFuture<Void> submitAddedJob(ExecutionPlan executionPlan) {
         final DispatcherGateway dispatcherGateway = getDispatcherGatewayInternal();
 
         return dispatcherGateway
-                .submitJob(jobGraph, RpcUtils.INF_TIMEOUT)
+                .submitJob((JobGraph) executionPlan, RpcUtils.INF_TIMEOUT)
                 .thenApply(FunctionUtils.nullFn())
                 .exceptionally(this::filterOutDuplicateJobSubmissionException);
     }
@@ -273,37 +278,37 @@ public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProc
         return Preconditions.checkNotNull(getDispatcherGateway().getNow(null));
     }
 
-    private Optional<JobGraph> recoverJobIfRunning(JobID jobId) {
+    private Optional<ExecutionPlan> recoverJobIfRunning(JobID jobId) {
         return supplyUnsynchronizedIfRunning(() -> tryRecoverJob(jobId)).flatMap(x -> x);
     }
 
     @Override
-    public void onRemovedJobGraph(JobID jobId) {
-        runIfStateIs(State.RUNNING, () -> handleRemovedJobGraph(jobId));
+    public void onRemovedExecutionPlan(JobID jobId) {
+        runIfStateIs(State.RUNNING, () -> handleRemovedExecutionPlan(jobId));
     }
 
-    private void handleRemovedJobGraph(JobID jobId) {
+    private void handleRemovedExecutionPlan(JobID jobId) {
         log.debug(
                 "Job {} has been removed from the {} by another process.",
                 jobId,
-                jobGraphStore.getClass().getSimpleName());
+                executionPlanStore.getClass().getSimpleName());
 
         onGoingRecoveryOperation =
                 onGoingRecoveryOperation
                         .thenCompose(
                                 ignored ->
-                                        removeJobGraphIfRunning(jobId)
+                                        removeExecutionPlanIfRunning(jobId)
                                                 .orElse(FutureUtils.completedVoidFuture()))
                         .handle(this::onErrorIfRunning);
     }
 
-    private Optional<CompletableFuture<Void>> removeJobGraphIfRunning(JobID jobId) {
-        return supplyIfRunning(() -> removeJobGraph(jobId));
+    private Optional<CompletableFuture<Void>> removeExecutionPlanIfRunning(JobID jobId) {
+        return supplyIfRunning(() -> removeExecutionPlan(jobId));
     }
 
-    private CompletableFuture<Void> removeJobGraph(JobID jobId) {
+    private CompletableFuture<Void> removeExecutionPlan(JobID jobId) {
         return getDispatcherService()
-                .map(dispatcherService -> dispatcherService.onRemovedJobGraph(jobId))
+                .map(dispatcherService -> dispatcherService.onRemovedExecutionPlan(jobId))
                 .orElseGet(FutureUtils::completedVoidFuture);
     }
 
@@ -314,14 +319,14 @@ public class SessionDispatcherLeaderProcess extends AbstractDispatcherLeaderProc
     public static SessionDispatcherLeaderProcess create(
             UUID leaderSessionId,
             DispatcherGatewayServiceFactory dispatcherFactory,
-            JobGraphStore jobGraphStore,
+            ExecutionPlanStore executionPlanStore,
             JobResultStore jobResultStore,
             Executor ioExecutor,
             FatalErrorHandler fatalErrorHandler) {
         return new SessionDispatcherLeaderProcess(
                 leaderSessionId,
                 dispatcherFactory,
-                jobGraphStore,
+                executionPlanStore,
                 jobResultStore,
                 ioExecutor,
                 fatalErrorHandler);
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessFactory.java
index 8c08bb0d0b3..a239746b799 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessFactory.java
@@ -52,7 +52,7 @@ public class SessionDispatcherLeaderProcessFactory implements DispatcherLeaderPr
         return SessionDispatcherLeaderProcess.create(
                 leaderSessionID,
                 dispatcherGatewayServiceFactory,
-                jobPersistenceComponentFactory.createJobGraphStore(),
+                jobPersistenceComponentFactory.createExecutionPlanStore(),
                 jobPersistenceComponentFactory.createJobResultStore(),
                 ioExecutor,
                 fatalErrorHandler);
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/AbstractHaServices.java b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/AbstractHaServices.java
index aecd38ed29a..24201fa2820 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/AbstractHaServices.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/AbstractHaServices.java
@@ -23,7 +23,7 @@ import org.apache.flink.configuration.Configuration;
 import org.apache.flink.runtime.blob.BlobStore;
 import org.apache.flink.runtime.blob.BlobStoreService;
 import org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.leaderelection.DefaultLeaderElectionService;
 import org.apache.flink.runtime.leaderelection.LeaderElection;
 import org.apache.flink.runtime.leaderelection.LeaderElectionDriverFactory;
@@ -136,8 +136,8 @@ public abstract class AbstractHaServices implements HighAvailabilityServices {
     }
 
     @Override
-    public JobGraphStore getJobGraphStore() throws Exception {
-        return createJobGraphStore();
+    public ExecutionPlanStore getExecutionPlanStore() throws Exception {
+        return createExecutionPlanStore();
     }
 
     @Override
@@ -241,12 +241,12 @@ public abstract class AbstractHaServices implements HighAvailabilityServices {
     protected abstract CheckpointRecoveryFactory createCheckpointRecoveryFactory() throws Exception;
 
     /**
-     * Create the submitted job graph store for the job manager.
+     * Create the submitted execution plan store for the job manager.
      *
-     * @return Submitted job graph store
-     * @throws Exception if the submitted job graph store could not be created
+     * @return Submitted execution plan store
+     * @throws Exception if the submitted execution plan store could not be created
      */
-    protected abstract JobGraphStore createJobGraphStore() throws Exception;
+    protected abstract ExecutionPlanStore createExecutionPlanStore() throws Exception;
 
     /**
      * Closes the components which is used for external operations(e.g. Zookeeper Client, Kubernetes
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/HighAvailabilityServices.java b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/HighAvailabilityServices.java
index 1092bd20663..971416e78b9 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/HighAvailabilityServices.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/HighAvailabilityServices.java
@@ -22,7 +22,7 @@ import org.apache.flink.api.common.JobID;
 import org.apache.flink.runtime.blob.BlobStore;
 import org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory;
 import org.apache.flink.runtime.dispatcher.cleanup.GloballyCleanableResource;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.leaderelection.LeaderElection;
 import org.apache.flink.runtime.leaderretrieval.LeaderRetrievalService;
 import org.apache.flink.util.ExceptionUtils;
@@ -153,12 +153,12 @@ public interface HighAvailabilityServices
     CheckpointRecoveryFactory getCheckpointRecoveryFactory() throws Exception;
 
     /**
-     * Gets the submitted job graph store for the job manager.
+     * Gets the submitted execution plan store for the job manager.
      *
-     * @return Submitted job graph store
-     * @throws Exception if the submitted job graph store could not be created
+     * @return Submitted execution plan store
+     * @throws Exception if the submitted execution plan store could not be created
      */
-    JobGraphStore getJobGraphStore() throws Exception;
+    ExecutionPlanStore getExecutionPlanStore() throws Exception;
 
     /**
      * Gets the store that holds information about the state of finished jobs.
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/nonha/AbstractNonHaServices.java b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/nonha/AbstractNonHaServices.java
index 2ecd3985bba..5af64336fc4 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/nonha/AbstractNonHaServices.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/nonha/AbstractNonHaServices.java
@@ -25,8 +25,8 @@ import org.apache.flink.runtime.checkpoint.StandaloneCheckpointRecoveryFactory;
 import org.apache.flink.runtime.highavailability.HighAvailabilityServices;
 import org.apache.flink.runtime.highavailability.JobResultStore;
 import org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedJobResultStore;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
-import org.apache.flink.runtime.jobmanager.StandaloneJobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
+import org.apache.flink.runtime.jobmanager.StandaloneExecutionPlanStore;
 
 import javax.annotation.concurrent.GuardedBy;
 
@@ -38,7 +38,7 @@ import static org.apache.flink.util.Preconditions.checkState;
  * Abstract base class for non high-availability services.
  *
  * <p>This class returns the standalone variants for the checkpoint recovery factory, the submitted
- * job graph store, the running jobs registry and the blob store.
+ * execution plan store, the running jobs registry and the blob store.
  */
 public abstract class AbstractNonHaServices implements HighAvailabilityServices {
     protected final Object lock = new Object();
@@ -70,11 +70,11 @@ public abstract class AbstractNonHaServices implements HighAvailabilityServices
     }
 
     @Override
-    public JobGraphStore getJobGraphStore() throws Exception {
+    public ExecutionPlanStore getExecutionPlanStore() throws Exception {
         synchronized (lock) {
             checkNotShutdown();
 
-            return new StandaloneJobGraphStore();
+            return new StandaloneExecutionPlanStore();
         }
     }
 
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/zookeeper/ZooKeeperLeaderElectionHaServices.java b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/zookeeper/ZooKeeperLeaderElectionHaServices.java
index f41b78dcaac..e866034e485 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/zookeeper/ZooKeeperLeaderElectionHaServices.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/highavailability/zookeeper/ZooKeeperLeaderElectionHaServices.java
@@ -25,7 +25,7 @@ import org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory;
 import org.apache.flink.runtime.checkpoint.ZooKeeperCheckpointRecoveryFactory;
 import org.apache.flink.runtime.highavailability.AbstractHaServices;
 import org.apache.flink.runtime.highavailability.FileSystemJobResultStore;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionDriverFactory;
 import org.apache.flink.runtime.leaderretrieval.LeaderRetrievalService;
 import org.apache.flink.runtime.util.ZooKeeperUtils;
@@ -91,8 +91,8 @@ public class ZooKeeperLeaderElectionHaServices extends AbstractHaServices {
     }
 
     @Override
-    public JobGraphStore createJobGraphStore() throws Exception {
-        return ZooKeeperUtils.createJobGraphs(
+    public ExecutionPlanStore createExecutionPlanStore() throws Exception {
+        return ZooKeeperUtils.createExecutionPlans(
                 curatorFrameworkWrapper.asCuratorFramework(), configuration);
     }
 
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobResourceRequirements.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobResourceRequirements.java
index b282ddcb018..d9844ddaea0 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobResourceRequirements.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobgraph/JobResourceRequirements.java
@@ -18,6 +18,7 @@
 
 package org.apache.flink.runtime.jobgraph;
 
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.InstantiationUtil;
 
 import java.io.IOException;
@@ -42,7 +43,7 @@ public class JobResourceRequirements implements Serializable {
     /**
      * A key for an internal config option (intentionally prefixed with $internal to make this
      * explicit), that we'll serialize the {@link JobResourceRequirements} into, when writing it to
-     * {@link JobGraph}.
+     * {@link ExecutionPlan}.
      */
     private static final String JOB_RESOURCE_REQUIREMENTS_KEY =
             "$internal.job-resource-requirements";
@@ -52,38 +53,39 @@ public class JobResourceRequirements implements Serializable {
 
     /**
      * Write {@link JobResourceRequirements resource requirements} into the configuration of a given
-     * {@link JobGraph}.
+     * {@link ExecutionPlan}.
      *
-     * @param jobGraph job graph to write requirements to
+     * @param executionPlan executionPlan to write requirements to
      * @param jobResourceRequirements resource requirements to write
      * @throws IOException in case we're not able to serialize requirements into the configuration
      */
-    public static void writeToJobGraph(
-            JobGraph jobGraph, JobResourceRequirements jobResourceRequirements) throws IOException {
+    public static void writeToExecutionPlan(
+            ExecutionPlan executionPlan, JobResourceRequirements jobResourceRequirements)
+            throws IOException {
         InstantiationUtil.writeObjectToConfig(
                 jobResourceRequirements,
-                jobGraph.getJobConfiguration(),
+                executionPlan.getJobConfiguration(),
                 JOB_RESOURCE_REQUIREMENTS_KEY);
     }
 
     /**
      * Read {@link JobResourceRequirements resource requirements} from the configuration of a given
-     * {@link JobGraph}.
+     * {@link ExecutionPlan}.
      *
-     * @param jobGraph job graph to read requirements from
+     * @param executionPlan execution plan to read requirements from
      * @throws IOException in case we're not able to deserialize requirements from the configuration
      */
-    public static Optional<JobResourceRequirements> readFromJobGraph(JobGraph jobGraph)
-            throws IOException {
+    public static Optional<JobResourceRequirements> readFromExecutionPlan(
+            ExecutionPlan executionPlan) throws IOException {
         try {
             return Optional.ofNullable(
                     InstantiationUtil.readObjectFromConfig(
-                            jobGraph.getJobConfiguration(),
+                            executionPlan.getJobConfiguration(),
                             JOB_RESOURCE_REQUIREMENTS_KEY,
                             JobResourceRequirements.class.getClassLoader()));
         } catch (ClassNotFoundException e) {
             throw new IOException(
-                    "Unable to deserialize JobResourceRequirements due to missing classes. This might happen when the JobGraph was written from a different Flink version.",
+                    "Unable to deserialize JobResourceRequirements due to missing classes. This might happen when the ExecutionPlan was written from a different Flink version.",
                     e);
         }
     }
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/DefaultJobGraphStore.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/DefaultExecutionPlanStore.java
similarity index 54%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/DefaultJobGraphStore.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/DefaultExecutionPlanStore.java
index 2c0d2ea3871..7ac648c6268 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/DefaultJobGraphStore.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/DefaultExecutionPlanStore.java
@@ -19,11 +19,11 @@
 package org.apache.flink.runtime.jobmanager;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobResourceRequirements;
 import org.apache.flink.runtime.persistence.ResourceVersion;
 import org.apache.flink.runtime.persistence.StateHandleStore;
 import org.apache.flink.runtime.state.RetrievableStateHandle;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.ExceptionUtils;
 import org.apache.flink.util.FlinkException;
 import org.apache.flink.util.function.ThrowingRunnable;
@@ -49,56 +49,56 @@ import static org.apache.flink.util.Preconditions.checkNotNull;
 import static org.apache.flink.util.Preconditions.checkState;
 
 /**
- * Default implementation for {@link JobGraphStore}. Combined with different {@link
- * StateHandleStore}, we could persist the job graphs to various distributed storage. Also combined
- * with different {@link JobGraphStoreWatcher}, we could get all the changes on the job graph store
- * and do the response.
+ * Default implementation for {@link ExecutionPlanStore}. Combined with different {@link
+ * StateHandleStore}, we could persist the execution plans to various distributed storage. Also
+ * combined with different {@link ExecutionPlanStoreWatcher}, we could get all the changes on the
+ * execution plan store and do the response.
  */
-public class DefaultJobGraphStore<R extends ResourceVersion<R>>
-        implements JobGraphStore, JobGraphStore.JobGraphListener {
+public class DefaultExecutionPlanStore<R extends ResourceVersion<R>>
+        implements ExecutionPlanStore, ExecutionPlanStore.ExecutionPlanListener {
 
-    private static final Logger LOG = LoggerFactory.getLogger(DefaultJobGraphStore.class);
+    private static final Logger LOG = LoggerFactory.getLogger(DefaultExecutionPlanStore.class);
 
-    /** Lock to synchronize with the {@link JobGraphListener}. */
+    /** Lock to synchronize with the {@link ExecutionPlanListener}. */
     private final Object lock = new Object();
 
-    /** The set of IDs of all added job graphs. */
+    /** The set of IDs of all added execution plans. */
     @GuardedBy("lock")
-    private final Set<JobID> addedJobGraphs = new HashSet<>();
+    private final Set<JobID> addedExecutionPlans = new HashSet<>();
 
-    /** Submitted job graphs handle store. */
-    private final StateHandleStore<JobGraph, R> jobGraphStateHandleStore;
+    /** Submitted execution plans handle store. */
+    private final StateHandleStore<ExecutionPlan, R> executionPlanStateHandleStore;
 
     @GuardedBy("lock")
-    private final JobGraphStoreWatcher jobGraphStoreWatcher;
+    private final ExecutionPlanStoreWatcher executionPlanStoreWatcher;
 
-    private final JobGraphStoreUtil jobGraphStoreUtil;
+    private final ExecutionPlanStoreUtil executionPlanStoreUtil;
 
     /** The external listener to be notified on races. */
     @GuardedBy("lock")
-    private JobGraphListener jobGraphListener;
+    private ExecutionPlanListener executionPlanListener;
 
     /** Flag indicating whether this instance is running. */
     @GuardedBy("lock")
     private volatile boolean running;
 
-    public DefaultJobGraphStore(
-            StateHandleStore<JobGraph, R> stateHandleStore,
-            JobGraphStoreWatcher jobGraphStoreWatcher,
-            JobGraphStoreUtil jobGraphStoreUtil) {
-        this.jobGraphStateHandleStore = checkNotNull(stateHandleStore);
-        this.jobGraphStoreWatcher = checkNotNull(jobGraphStoreWatcher);
-        this.jobGraphStoreUtil = checkNotNull(jobGraphStoreUtil);
+    public DefaultExecutionPlanStore(
+            StateHandleStore<ExecutionPlan, R> stateHandleStore,
+            ExecutionPlanStoreWatcher executionPlanStoreWatcher,
+            ExecutionPlanStoreUtil executionPlanStoreUtil) {
+        this.executionPlanStateHandleStore = checkNotNull(stateHandleStore);
+        this.executionPlanStoreWatcher = checkNotNull(executionPlanStoreWatcher);
+        this.executionPlanStoreUtil = checkNotNull(executionPlanStoreUtil);
 
         this.running = false;
     }
 
     @Override
-    public void start(JobGraphListener jobGraphListener) throws Exception {
+    public void start(ExecutionPlanListener executionPlanListener) throws Exception {
         synchronized (lock) {
             if (!running) {
-                this.jobGraphListener = checkNotNull(jobGraphListener);
-                jobGraphStoreWatcher.start(this);
+                this.executionPlanListener = checkNotNull(executionPlanListener);
+                executionPlanStoreWatcher.start(this);
                 running = true;
             }
         }
@@ -109,24 +109,24 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
         synchronized (lock) {
             if (running) {
                 running = false;
-                LOG.info("Stopping DefaultJobGraphStore.");
+                LOG.info("Stopping DefaultExecutionPlanStore.");
                 Exception exception = null;
 
                 try {
-                    jobGraphStateHandleStore.releaseAll();
+                    executionPlanStateHandleStore.releaseAll();
                 } catch (Exception e) {
                     exception = e;
                 }
 
                 try {
-                    jobGraphStoreWatcher.stop();
+                    executionPlanStoreWatcher.stop();
                 } catch (Exception e) {
                     exception = ExceptionUtils.firstOrSuppressed(e, exception);
                 }
 
                 if (exception != null) {
                     throw new FlinkException(
-                            "Could not properly stop the DefaultJobGraphStore.", exception);
+                            "Could not properly stop the DefaultExecutionPlanStore.", exception);
                 }
             }
         }
@@ -134,76 +134,77 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
 
     @Nullable
     @Override
-    public JobGraph recoverJobGraph(JobID jobId) throws Exception {
+    public ExecutionPlan recoverExecutionPlan(JobID jobId) throws Exception {
         checkNotNull(jobId, "Job ID");
 
-        LOG.debug("Recovering job graph {} from {}.", jobId, jobGraphStateHandleStore);
+        LOG.debug("Recovering execution plan {} from {}.", jobId, executionPlanStateHandleStore);
 
-        final String name = jobGraphStoreUtil.jobIDToName(jobId);
+        final String name = executionPlanStoreUtil.jobIDToName(jobId);
 
         synchronized (lock) {
             verifyIsRunning();
 
             boolean success = false;
 
-            RetrievableStateHandle<JobGraph> jobGraphRetrievableStateHandle;
+            RetrievableStateHandle<ExecutionPlan> executionPlanRetrievableStateHandle;
 
             try {
                 try {
-                    jobGraphRetrievableStateHandle = jobGraphStateHandleStore.getAndLock(name);
+                    executionPlanRetrievableStateHandle =
+                            executionPlanStateHandleStore.getAndLock(name);
                 } catch (StateHandleStore.NotExistException ignored) {
                     success = true;
                     return null;
                 } catch (Exception e) {
                     throw new FlinkException(
-                            "Could not retrieve the submitted job graph state handle "
+                            "Could not retrieve the submitted execution plan state handle "
                                     + "for "
                                     + name
-                                    + " from the submitted job graph store.",
+                                    + " from the submitted execution plan store.",
                             e);
                 }
 
-                JobGraph jobGraph;
+                ExecutionPlan executionPlan;
                 try {
-                    jobGraph = jobGraphRetrievableStateHandle.retrieveState();
+                    executionPlan = executionPlanRetrievableStateHandle.retrieveState();
                 } catch (ClassNotFoundException cnfe) {
                     throw new FlinkException(
-                            "Could not retrieve submitted JobGraph from state handle under "
+                            "Could not retrieve submitted ExecutionPlan from state handle under "
                                     + name
                                     + ". This indicates that you are trying to recover from state written by an "
                                     + "older Flink version which is not compatible. Try cleaning the state handle store.",
                             cnfe);
                 } catch (IOException ioe) {
                     throw new FlinkException(
-                            "Could not retrieve submitted JobGraph from state handle under "
+                            "Could not retrieve submitted ExecutionPlan from state handle under "
                                     + name
                                     + ". This indicates that the retrieved state handle is broken. Try cleaning the state handle "
                                     + "store.",
                             ioe);
                 }
 
-                addedJobGraphs.add(jobGraph.getJobID());
+                addedExecutionPlans.add(executionPlan.getJobID());
 
-                LOG.info("Recovered {}.", jobGraph);
+                LOG.info("Recovered {}.", executionPlan);
 
                 success = true;
-                return jobGraph;
+                return executionPlan;
             } finally {
                 if (!success) {
-                    jobGraphStateHandleStore.release(name);
+                    executionPlanStateHandleStore.release(name);
                 }
             }
         }
     }
 
     @Override
-    public void putJobGraph(JobGraph jobGraph) throws Exception {
-        checkNotNull(jobGraph, "Job graph");
+    public void putExecutionPlan(ExecutionPlan executionPlan) throws Exception {
+        checkNotNull(executionPlan, "Execution Plan");
 
-        final JobID jobID = jobGraph.getJobID();
-        final String name = jobGraphStoreUtil.jobIDToName(jobID);
+        final JobID jobID = executionPlan.getJobID();
+        final String name = executionPlanStoreUtil.jobIDToName(jobID);
 
-        LOG.debug("Adding job graph {} to {}.", jobID, jobGraphStateHandleStore);
+        LOG.debug("Adding execution plan {} to {}.", jobID, executionPlanStateHandleStore);
 
         boolean success = false;
 
@@ -211,51 +212,58 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
             synchronized (lock) {
                 verifyIsRunning();
 
-                final R currentVersion = jobGraphStateHandleStore.exists(name);
+                final R currentVersion = executionPlanStateHandleStore.exists(name);
 
                 if (!currentVersion.isExisting()) {
                     try {
-                        jobGraphStateHandleStore.addAndLock(name, jobGraph);
+                        executionPlanStateHandleStore.addAndLock(name, executionPlan);
 
-                        addedJobGraphs.add(jobID);
+                        addedExecutionPlans.add(jobID);
 
                         success = true;
                     } catch (StateHandleStore.AlreadyExistException ignored) {
-                        LOG.warn("{} already exists in {}.", jobGraph, jobGraphStateHandleStore);
+                        LOG.warn(
+                                "{} already exists in {}.",
+                                executionPlan,
+                                executionPlanStateHandleStore);
                     }
-                } else if (addedJobGraphs.contains(jobID)) {
+                } else if (addedExecutionPlans.contains(jobID)) {
                     try {
-                        jobGraphStateHandleStore.replace(name, currentVersion, jobGraph);
-                        LOG.info("Updated {} in {}.", jobGraph, getClass().getSimpleName());
+                        executionPlanStateHandleStore.replace(name, currentVersion, executionPlan);
+                        LOG.info("Updated {} in {}.", executionPlan, getClass().getSimpleName());
 
                         success = true;
                     } catch (StateHandleStore.NotExistException ignored) {
-                        LOG.warn("{} does not exists in {}.", jobGraph, jobGraphStateHandleStore);
+                        LOG.warn(
+                                "{} does not exists in {}.",
+                                executionPlan,
+                                executionPlanStateHandleStore);
                     }
                 } else {
                     throw new IllegalStateException(
-                            "Trying to update a graph you didn't "
-                                    + "#getAllSubmittedJobGraphs() or #putJobGraph() yourself before.");
+                            "Trying to update an execution plan you didn't "
+                                    + "#getAllSubmittedExecutionPlans() or #putExecutionPlan() yourself before.");
                 }
             }
         }
 
-        LOG.info("Added {} to {}.", jobGraph, jobGraphStateHandleStore);
+        LOG.info("Added {} to {}.", executionPlan, executionPlanStateHandleStore);
     }
 
     @Override
     public void putJobResourceRequirements(
             JobID jobId, JobResourceRequirements jobResourceRequirements) throws Exception {
         synchronized (lock) {
-            @Nullable final JobGraph jobGraph = recoverJobGraph(jobId);
-            if (jobGraph == null) {
+            @Nullable final ExecutionPlan executionPlan = recoverExecutionPlan(jobId);
+            if (executionPlan == null) {
                 throw new NoSuchElementException(
                         String.format(
-                                "JobGraph for job [%s] was not found in JobGraphStore and is needed for attaching JobResourceRequirements.",
+                                "ExecutionPlan for job [%s] was not found in ExecutionPlanStore and is needed for attaching JobResourceRequirements.",
                                 jobId));
             }
-            JobResourceRequirements.writeToJobGraph(jobGraph, jobResourceRequirements);
-            putJobGraph(jobGraph);
+
+            JobResourceRequirements.writeToExecutionPlan(executionPlan, jobResourceRequirements);
+            putExecutionPlan(executionPlan);
         }
     }
 
@@ -265,14 +273,20 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
 
         return runAsyncWithLockAssertRunning(
                 () -> {
-                    LOG.debug("Removing job graph {} from {}.", jobId, jobGraphStateHandleStore);
+                    LOG.debug(
+                            "Removing execution plan {} from {}.",
+                            jobId,
+                            executionPlanStateHandleStore);
 
-                    final String name = jobGraphStoreUtil.jobIDToName(jobId);
+                    final String name = executionPlanStoreUtil.jobIDToName(jobId);
                     releaseAndRemoveOrThrowCompletionException(jobId, name);
 
-                    addedJobGraphs.remove(jobId);
+                    addedExecutionPlans.remove(jobId);
 
-                    LOG.info("Removed job graph {} from {}.", jobId, jobGraphStateHandleStore);
+                    LOG.info(
+                            "Removed execution plan {} from {}.",
+                            jobId,
+                            executionPlanStateHandleStore);
                 },
                 executor);
     }
@@ -281,7 +295,7 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
     private void releaseAndRemoveOrThrowCompletionException(JobID jobId, String jobName) {
         boolean success;
         try {
-            success = jobGraphStateHandleStore.releaseAndTryRemove(jobName);
+            success = executionPlanStateHandleStore.releaseAndTryRemove(jobName);
         } catch (Exception e) {
             throw new CompletionException(e);
         }
@@ -290,16 +304,16 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
             throw new CompletionException(
                     new FlinkException(
                             String.format(
-                                    "Could not remove job graph with job id %s from %s.",
-                                    jobId, jobGraphStateHandleStore)));
+                                    "Could not remove execution plan with job id %s from %s.",
+                                    jobId, executionPlanStateHandleStore)));
         }
     }
 
     /**
-     * Releases the locks on the specified {@link JobGraph}.
+     * Releases the locks on the specified {@link ExecutionPlan}.
      *
      * <p>Releasing the locks allows that another instance can delete the job from the {@link
-     * JobGraphStore}.
+     * ExecutionPlanStore}.
      *
      * @param jobId specifying the job to release the locks for
      * @param executor the executor being used for the asynchronous execution of the local cleanup.
@@ -311,12 +325,19 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
 
         return runAsyncWithLockAssertRunning(
                 () -> {
-                    LOG.debug("Releasing job graph {} from {}.", jobId, jobGraphStateHandleStore);
-
-                    jobGraphStateHandleStore.release(jobGraphStoreUtil.jobIDToName(jobId));
-                    addedJobGraphs.remove(jobId);
-
-                    LOG.info("Released job graph {} from {}.", jobId, jobGraphStateHandleStore);
+                    LOG.debug(
+                            "Releasing execution plan {} from {}.",
+                            jobId,
+                            executionPlanStateHandleStore);
+
+                    executionPlanStateHandleStore.release(
+                            executionPlanStoreUtil.jobIDToName(jobId));
+                    addedExecutionPlans.remove(jobId);
+
+                    LOG.info(
+                            "Released execution plan {} from {}.",
+                            jobId,
+                            executionPlanStateHandleStore);
                 },
                 executor);
     }
@@ -339,21 +360,22 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
 
     @Override
     public Collection<JobID> getJobIds() throws Exception {
-        LOG.debug("Retrieving all stored job ids from {}.", jobGraphStateHandleStore);
+        LOG.debug("Retrieving all stored job ids from {}.", executionPlanStateHandleStore);
 
         final Collection<String> names;
         try {
-            names = jobGraphStateHandleStore.getAllHandles();
+            names = executionPlanStateHandleStore.getAllHandles();
         } catch (Exception e) {
             throw new Exception(
-                    "Failed to retrieve all job ids from " + jobGraphStateHandleStore + ".", e);
+                    "Failed to retrieve all job ids from " + executionPlanStateHandleStore + ".",
+                    e);
         }
 
         final List<JobID> jobIds = new ArrayList<>(names.size());
 
         for (String name : names) {
             try {
-                jobIds.add(jobGraphStoreUtil.nameToJobID(name));
+                jobIds.add(executionPlanStoreUtil.nameToJobID(name));
             } catch (Exception exception) {
                 LOG.warn(
                         "Could not parse job id from {}. This indicates a malformed name.",
@@ -362,23 +384,23 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
             }
         }
 
-        LOG.info("Retrieved job ids {} from {}", jobIds, jobGraphStateHandleStore);
+        LOG.info("Retrieved job ids {} from {}", jobIds, executionPlanStateHandleStore);
 
         return jobIds;
     }
 
     @Override
-    public void onAddedJobGraph(JobID jobId) {
+    public void onAddedExecutionPlan(JobID jobId) {
         synchronized (lock) {
             if (running) {
-                if (!addedJobGraphs.contains(jobId)) {
+                if (!addedExecutionPlans.contains(jobId)) {
                     try {
                         // This has been added by someone else. Or we were fast to remove it (false
                         // positive).
-                        jobGraphListener.onAddedJobGraph(jobId);
+                        executionPlanListener.onAddedExecutionPlan(jobId);
                     } catch (Throwable t) {
                         LOG.error(
-                                "Failed to notify job graph listener onAddedJobGraph event for {}",
+                                "Failed to notify execution plan listener onAddedExecutionPlan event for {}",
                                 jobId,
                                 t);
                     }
@@ -388,16 +410,16 @@ public class DefaultJobGraphStore<R extends ResourceVersion<R>>
     }
 
     @Override
-    public void onRemovedJobGraph(JobID jobId) {
+    public void onRemovedExecutionPlan(JobID jobId) {
         synchronized (lock) {
             if (running) {
-                if (addedJobGraphs.contains(jobId)) {
+                if (addedExecutionPlans.contains(jobId)) {
                     try {
-                        // Someone else removed one of our job graphs. Mean!
-                        jobGraphListener.onRemovedJobGraph(jobId);
+                        // Someone else removed one of our execution plans. Mean!
+                        executionPlanListener.onRemovedExecutionPlan(jobId);
                     } catch (Throwable t) {
                         LOG.error(
-                                "Failed to notify job graph listener onRemovedJobGraph event for {}",
+                                "Failed to notify execution plan listener onRemovedExecutionPlan event for {}",
                                 jobId,
                                 t);
                     }
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStore.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStore.java
similarity index 59%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStore.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStore.java
index 04cf71b5c0a..75e7e9683df 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStore.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStore.java
@@ -19,30 +19,30 @@
 package org.apache.flink.runtime.jobmanager;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobgraph.JobGraph;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 
 import javax.annotation.Nullable;
 
 import java.util.Collection;
 
-/** {@link JobGraph} instances for recovery. */
-public interface JobGraphStore extends JobGraphWriter {
+/** {@link ExecutionPlan} instances for recovery. */
+public interface ExecutionPlanStore extends ExecutionPlanWriter {
 
-    /** Starts the {@link JobGraphStore} service. */
-    void start(JobGraphListener jobGraphListener) throws Exception;
+    /** Starts the {@link ExecutionPlanStore} service. */
+    void start(ExecutionPlanListener executionPlanListener) throws Exception;
 
-    /** Stops the {@link JobGraphStore} service. */
+    /** Stops the {@link ExecutionPlanStore} service. */
     void stop() throws Exception;
 
     /**
-     * Returns the {@link JobGraph} with the given {@link JobID} or {@code null} if no job was
+     * Returns the {@link ExecutionPlan} with the given {@link JobID} or {@code null} if no job was
      * registered.
      */
     @Nullable
-    JobGraph recoverJobGraph(JobID jobId) throws Exception;
+    ExecutionPlan recoverExecutionPlan(JobID jobId) throws Exception;
 
     /**
-     * Get all job ids of submitted job graphs to the submitted job graph store.
+     * Get all job ids of submitted job graphs to the submitted execution plan store.
      *
      * @return Collection of submitted job ids
      * @throws Exception if the operation fails
@@ -50,28 +50,28 @@ public interface JobGraphStore extends JobGraphWriter {
     Collection<JobID> getJobIds() throws Exception;
 
     /**
-     * A listener for {@link JobGraph} instances. This is used to react to races between multiple
-     * running {@link JobGraphStore} instances (on multiple job managers).
+     * A listener for {@link ExecutionPlan} instances. This is used to react to races between
+     * multiple running {@link ExecutionPlanStore} instances (on multiple job managers).
      */
-    interface JobGraphListener {
+    interface ExecutionPlanListener {
 
         /**
-         * Callback for {@link JobGraph} instances added by a different {@link JobGraphStore}
-         * instance.
+         * Callback for {@link ExecutionPlan} instances added by a different {@link
+         * ExecutionPlanStore} instance.
          *
          * <p><strong>Important:</strong> It is possible to get false positives and be notified
          * about a job graph, which was added by this instance.
          *
          * @param jobId The {@link JobID} of the added job graph
          */
-        void onAddedJobGraph(JobID jobId);
+        void onAddedExecutionPlan(JobID jobId);
 
         /**
-         * Callback for {@link JobGraph} instances removed by a different {@link JobGraphStore}
-         * instance.
+         * Callback for {@link ExecutionPlan} instances removed by a different {@link
+         * ExecutionPlanStore} instance.
          *
          * @param jobId The {@link JobID} of the removed job graph
          */
-        void onRemovedJobGraph(JobID jobId);
+        void onRemovedExecutionPlan(JobID jobId);
     }
 }
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStoreUtil.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStoreUtil.java
similarity index 86%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStoreUtil.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStoreUtil.java
index 209a55ddc07..d76fb5a3509 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStoreUtil.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStoreUtil.java
@@ -21,10 +21,10 @@ package org.apache.flink.runtime.jobmanager;
 import org.apache.flink.api.common.JobID;
 
 /**
- * JobGraphStore utility interfaces. For example, convert a name(e.g. ZooKeeper path, key name in
- * Kubernetes ConfigMap) to {@link JobID}, or vice versa.
+ * ExecutionPlanStore utility interfaces. For example, convert a name(e.g. ZooKeeper path, key name
+ * in Kubernetes ConfigMap) to {@link JobID}, or vice versa.
  */
-public interface JobGraphStoreUtil {
+public interface ExecutionPlanStoreUtil {
 
     /**
      * Get the name in external storage from job id.
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStoreWatcher.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStoreWatcher.java
similarity index 55%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStoreWatcher.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStoreWatcher.java
index 79e7fdabc65..4be8c560916 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphStoreWatcher.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanStoreWatcher.java
@@ -19,25 +19,27 @@
 package org.apache.flink.runtime.jobmanager;
 
 /**
- * A watcher on {@link JobGraphStore}. It could monitor all the changes on the job graph store and
- * notify the {@link JobGraphStore} via {@link JobGraphStore.JobGraphListener}.
+ * A watcher on {@link ExecutionPlanStore}. It could monitor all the changes on the execution plan
+ * store and notify the {@link ExecutionPlanStore} via {@link
+ * ExecutionPlanStore.ExecutionPlanListener}.
  *
- * <p><strong>Important</strong>: The {@link JobGraphStoreWatcher} could not guarantee that there is
- * no {@link JobGraphStore.JobGraphListener} callbacks happen after {@link #stop()}. So the
- * implementor is responsible for filtering out these spurious callbacks.
+ * <p><strong>Important</strong>: The {@link ExecutionPlanStoreWatcher} could not guarantee that
+ * there is no {@link ExecutionPlanStore.ExecutionPlanListener} callbacks happen after {@link
+ * #stop()}. So the implementor is responsible for filtering out these spurious callbacks.
  */
-public interface JobGraphStoreWatcher {
+public interface ExecutionPlanStoreWatcher {
 
     /**
-     * Start the watcher on {@link JobGraphStore}.
+     * Start the watcher on {@link ExecutionPlanStore}.
      *
-     * @param jobGraphListener use jobGraphListener to notify the {@link DefaultJobGraphStore}
+     * @param executionPlanListener use executionPlanListener to notify the {@link
+     *     DefaultExecutionPlanStore}
      * @throws Exception when start internal services
      */
-    void start(JobGraphStore.JobGraphListener jobGraphListener) throws Exception;
+    void start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener) throws Exception;
 
     /**
-     * Stop the watcher on {@link JobGraphStore}.
+     * Stop the watcher on {@link ExecutionPlanStore}.
      *
      * @throws Exception when stop internal services
      */
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphWriter.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanWriter.java
similarity index 83%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphWriter.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanWriter.java
index 8ac0d382c6d..525a45e3417 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobGraphWriter.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ExecutionPlanWriter.java
@@ -21,21 +21,21 @@ package org.apache.flink.runtime.jobmanager;
 import org.apache.flink.api.common.JobID;
 import org.apache.flink.runtime.dispatcher.cleanup.GloballyCleanableResource;
 import org.apache.flink.runtime.dispatcher.cleanup.LocallyCleanableResource;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobResourceRequirements;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.concurrent.FutureUtils;
 
 import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.Executor;
 
-/** Allows to store and remove job graphs. */
-public interface JobGraphWriter extends LocallyCleanableResource, GloballyCleanableResource {
+/** Allows to store and remove execution plans. */
+public interface ExecutionPlanWriter extends LocallyCleanableResource, GloballyCleanableResource {
     /**
-     * Adds the {@link JobGraph} instance.
+     * Adds the {@link ExecutionPlan} instance.
      *
-     * <p>If a job graph with the same {@link JobID} exists, it is replaced.
+     * <p>If a execution plan with the same {@link JobID} exists, it is replaced.
      */
-    void putJobGraph(JobGraph jobGraph) throws Exception;
+    void putExecutionPlan(ExecutionPlan executionPlan) throws Exception;
 
     /**
      * Persist {@link JobResourceRequirements job resource requirements} for the given job.
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/HaServicesJobPersistenceComponentFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/HaServicesJobPersistenceComponentFactory.java
index 05dce66c3aa..064184da682 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/HaServicesJobPersistenceComponentFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/HaServicesJobPersistenceComponentFactory.java
@@ -24,8 +24,8 @@ import org.apache.flink.util.FlinkRuntimeException;
 import org.apache.flink.util.function.SupplierWithException;
 
 /**
- * {@link JobPersistenceComponentFactory} implementation which creates a {@link JobGraphStore} using
- * the provided {@link HighAvailabilityServices}.
+ * {@link JobPersistenceComponentFactory} implementation which creates a {@link ExecutionPlanStore}
+ * using the provided {@link HighAvailabilityServices}.
  */
 public class HaServicesJobPersistenceComponentFactory implements JobPersistenceComponentFactory {
     private final HighAvailabilityServices highAvailabilityServices;
@@ -36,8 +36,8 @@ public class HaServicesJobPersistenceComponentFactory implements JobPersistenceC
     }
 
     @Override
-    public JobGraphStore createJobGraphStore() {
-        return create(highAvailabilityServices::getJobGraphStore, JobGraphStore.class);
+    public ExecutionPlanStore createExecutionPlanStore() {
+        return create(highAvailabilityServices::getExecutionPlanStore, ExecutionPlanStore.class);
     }
 
     @Override
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobPersistenceComponentFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobPersistenceComponentFactory.java
index e49c12a1e65..7834d7d3972 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobPersistenceComponentFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/JobPersistenceComponentFactory.java
@@ -24,11 +24,11 @@ import org.apache.flink.runtime.highavailability.JobResultStore;
 public interface JobPersistenceComponentFactory {
 
     /**
-     * Creates a {@link JobGraphStore}.
+     * Creates a {@link ExecutionPlanStore}.
      *
-     * @return a {@code JobGraphStore} instance
+     * @return a {@code ExecutionPlanStore} instance
      */
-    JobGraphStore createJobGraphStore();
+    ExecutionPlanStore createExecutionPlanStore();
 
     /**
      * Creates {@link JobResultStore} instances.
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/NoOpJobGraphStoreWatcher.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/NoOpExecutionPlanStoreWatcher.java
similarity index 80%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/NoOpJobGraphStoreWatcher.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/NoOpExecutionPlanStoreWatcher.java
index a1e487fdc82..afdf40856e4 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/NoOpJobGraphStoreWatcher.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/NoOpExecutionPlanStoreWatcher.java
@@ -18,12 +18,12 @@
 
 package org.apache.flink.runtime.jobmanager;
 
-/** Singleton {@link JobGraphStoreWatcher} empty implementation. */
-public enum NoOpJobGraphStoreWatcher implements JobGraphStoreWatcher {
+/** Singleton {@link ExecutionPlanStoreWatcher} empty implementation. */
+public enum NoOpExecutionPlanStoreWatcher implements ExecutionPlanStoreWatcher {
     INSTANCE;
 
     @Override
-    public void start(JobGraphStore.JobGraphListener jobGraphListener) {
+    public void start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener) {
         // noop
     }
 
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/StandaloneJobGraphStore.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/StandaloneExecutionPlanStore.java
similarity index 74%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/StandaloneJobGraphStore.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/StandaloneExecutionPlanStore.java
index c5760c9d159..2afc9b81daa 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/StandaloneJobGraphStore.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/StandaloneExecutionPlanStore.java
@@ -19,22 +19,22 @@
 package org.apache.flink.runtime.jobmanager;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobResourceRequirements;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 
 import java.util.Collection;
 import java.util.Collections;
 
 /**
- * {@link JobGraph} instances for JobManagers running in {@link HighAvailabilityMode#NONE}.
+ * {@link ExecutionPlan} instances for JobManagers running in {@link HighAvailabilityMode#NONE}.
  *
- * <p>All operations are NoOps, because {@link JobGraph} instances cannot be recovered in this
+ * <p>All operations are NoOps, because {@link ExecutionPlan} instances cannot be recovered in this
  * recovery mode.
  */
-public class StandaloneJobGraphStore implements JobGraphStore {
+public class StandaloneExecutionPlanStore implements ExecutionPlanStore {
 
     @Override
-    public void start(JobGraphListener jobGraphListener) throws Exception {
+    public void start(ExecutionPlanListener executionPlanListener) throws Exception {
         // Nothing to do
     }
 
@@ -44,7 +44,7 @@ public class StandaloneJobGraphStore implements JobGraphStore {
     }
 
     @Override
-    public void putJobGraph(JobGraph jobGraph) {
+    public void putExecutionPlan(ExecutionPlan jobGraph) {
         // Nothing to do
     }
 
@@ -60,7 +60,7 @@ public class StandaloneJobGraphStore implements JobGraphStore {
     }
 
     @Override
-    public JobGraph recoverJobGraph(JobID jobId) {
+    public ExecutionPlan recoverExecutionPlan(JobID jobId) {
         return null;
     }
 }
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ThrowingJobGraphWriter.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ThrowingExecutionPlanWriter.java
similarity index 81%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ThrowingJobGraphWriter.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ThrowingExecutionPlanWriter.java
index 270f425b5f8..ba02c872397 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ThrowingJobGraphWriter.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ThrowingExecutionPlanWriter.java
@@ -19,15 +19,17 @@
 package org.apache.flink.runtime.jobmanager;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobResourceRequirements;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 
-/** {@link JobGraphWriter} implementation which does not allow to store {@link JobGraph}. */
-public enum ThrowingJobGraphWriter implements JobGraphWriter {
+/**
+ * {@link ExecutionPlanWriter} implementation which does not allow to store {@link ExecutionPlan}.
+ */
+public enum ThrowingExecutionPlanWriter implements ExecutionPlanWriter {
     INSTANCE;
 
     @Override
-    public void putJobGraph(JobGraph jobGraph) {
+    public void putExecutionPlan(ExecutionPlan jobGraph) {
         throw new UnsupportedOperationException("Cannot store job graphs.");
     }
 
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreUtil.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreUtil.java
similarity index 88%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreUtil.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreUtil.java
index b1e3b2446d6..e41c33a2acd 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreUtil.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreUtil.java
@@ -21,8 +21,8 @@ package org.apache.flink.runtime.jobmanager;
 import org.apache.flink.api.common.JobID;
 import org.apache.flink.runtime.util.ZooKeeperUtils;
 
-/** Singleton {@link JobGraphStoreUtil} implementation for ZooKeeper. */
-public enum ZooKeeperJobGraphStoreUtil implements JobGraphStoreUtil {
+/** Singleton {@link ExecutionPlanStoreUtil} implementation for ZooKeeper. */
+public enum ZooKeeperExecutionPlanStoreUtil implements ExecutionPlanStoreUtil {
     INSTANCE;
 
     @Override
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreWatcher.java b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreWatcher.java
similarity index 81%
rename from flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreWatcher.java
rename to flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreWatcher.java
index 49437b9a5cd..39bd516e338 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreWatcher.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreWatcher.java
@@ -32,7 +32,7 @@ import org.slf4j.LoggerFactory;
 import static org.apache.flink.util.Preconditions.checkNotNull;
 
 /**
- * {@link JobGraphStoreWatcher} implementation for ZooKeeper.
+ * {@link ExecutionPlanStoreWatcher} implementation for ZooKeeper.
  *
  * <p>Each job graph creates ZNode:
  *
@@ -46,11 +46,12 @@ import static org.apache.flink.util.Preconditions.checkNotNull;
  *
  * <p>The root path is watched to detect concurrent modifications in corner situations where
  * multiple instances operate concurrently. The job manager acts as a {@link
- * JobGraphStore.JobGraphListener} to react to such situations.
+ * ExecutionPlanStore.ExecutionPlanListener} to react to such situations.
  */
-public class ZooKeeperJobGraphStoreWatcher implements JobGraphStoreWatcher {
+public class ZooKeeperExecutionPlanStoreWatcher implements ExecutionPlanStoreWatcher {
 
-    private static final Logger LOG = LoggerFactory.getLogger(ZooKeeperJobGraphStoreWatcher.class);
+    private static final Logger LOG =
+            LoggerFactory.getLogger(ZooKeeperExecutionPlanStoreWatcher.class);
 
     /**
      * Cache to monitor all children. This is used to detect races with other instances working on
@@ -58,19 +59,20 @@ public class ZooKeeperJobGraphStoreWatcher implements JobGraphStoreWatcher {
      */
     private final PathChildrenCache pathCache;
 
-    private JobGraphStore.JobGraphListener jobGraphListener;
+    private ExecutionPlanStore.ExecutionPlanListener executionPlanListener;
 
     private volatile boolean running;
 
-    public ZooKeeperJobGraphStoreWatcher(PathChildrenCache pathCache) {
+    public ZooKeeperExecutionPlanStoreWatcher(PathChildrenCache pathCache) {
         this.pathCache = checkNotNull(pathCache);
-        this.pathCache.getListenable().addListener(new JobGraphsPathCacheListener());
+        this.pathCache.getListenable().addListener(new ExecutionPlansPathCacheListener());
         running = false;
     }
 
     @Override
-    public void start(JobGraphStore.JobGraphListener jobGraphListener) throws Exception {
-        this.jobGraphListener = checkNotNull(jobGraphListener);
+    public void start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener)
+            throws Exception {
+        this.executionPlanListener = checkNotNull(executionPlanListener);
         running = true;
         pathCache.start();
     }
@@ -82,7 +84,7 @@ public class ZooKeeperJobGraphStoreWatcher implements JobGraphStoreWatcher {
         }
         running = false;
 
-        LOG.info("Stopping ZooKeeperJobGraphStoreWatcher ");
+        LOG.info("Stopping ZooKeeperExecutionPlanStoreWatcher ");
         pathCache.close();
     }
 
@@ -92,7 +94,7 @@ public class ZooKeeperJobGraphStoreWatcher implements JobGraphStoreWatcher {
      * <p>Detects modifications from other job managers in corner situations. The event
      * notifications fire for changes from this job manager as well.
      */
-    private final class JobGraphsPathCacheListener implements PathChildrenCacheListener {
+    private final class ExecutionPlansPathCacheListener implements PathChildrenCacheListener {
 
         @Override
         public void childEvent(CuratorFramework client, PathChildrenCacheEvent event) {
@@ -115,7 +117,7 @@ public class ZooKeeperJobGraphStoreWatcher implements JobGraphStoreWatcher {
 
                         LOG.debug("Received CHILD_ADDED event notification for job {}", jobId);
 
-                        jobGraphListener.onAddedJobGraph(jobId);
+                        executionPlanListener.onAddedExecutionPlan(jobId);
                     }
                     break;
 
@@ -131,7 +133,7 @@ public class ZooKeeperJobGraphStoreWatcher implements JobGraphStoreWatcher {
 
                         LOG.debug("Received CHILD_REMOVED event notification for job {}", jobId);
 
-                        jobGraphListener.onRemovedJobGraph(jobId);
+                        executionPlanListener.onRemovedExecutionPlan(jobId);
                     }
                     break;
 
@@ -161,7 +163,7 @@ public class ZooKeeperJobGraphStoreWatcher implements JobGraphStoreWatcher {
 
                 case INITIALIZED:
                     {
-                        LOG.info("JobGraphsPathCacheListener initialized");
+                        LOG.info("ExecutionPlansPathCacheListener initialized");
                     }
                     break;
             }
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/AdaptiveSchedulerFactory.java b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/AdaptiveSchedulerFactory.java
index 733f67e58bf..450b26d547c 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/AdaptiveSchedulerFactory.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptive/AdaptiveSchedulerFactory.java
@@ -122,7 +122,7 @@ public class AdaptiveSchedulerFactory implements SchedulerNGFactory {
                 AdaptiveScheduler.Settings.of(
                         jobMasterConfiguration, jobGraph.getCheckpointingSettings()),
                 jobGraph,
-                JobResourceRequirements.readFromJobGraph(jobGraph).orElse(null),
+                JobResourceRequirements.readFromExecutionPlan(jobGraph).orElse(null),
                 jobMasterConfiguration,
                 declarativeSlotPool,
                 slotAllocator,
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/util/ZooKeeperUtils.java b/flink-runtime/src/main/java/org/apache/flink/runtime/util/ZooKeeperUtils.java
index d2944a95a74..c4292aa6c16 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/util/ZooKeeperUtils.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/util/ZooKeeperUtils.java
@@ -35,12 +35,11 @@ import org.apache.flink.runtime.checkpoint.ZooKeeperCheckpointIDCounter;
 import org.apache.flink.runtime.checkpoint.ZooKeeperCheckpointStoreUtil;
 import org.apache.flink.runtime.highavailability.HighAvailabilityServicesUtils;
 import org.apache.flink.runtime.highavailability.zookeeper.CuratorFrameworkWithUnhandledErrorListener;
-import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.DefaultJobGraphStore;
+import org.apache.flink.runtime.jobmanager.DefaultExecutionPlanStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.jobmanager.HighAvailabilityMode;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
-import org.apache.flink.runtime.jobmanager.ZooKeeperJobGraphStoreUtil;
-import org.apache.flink.runtime.jobmanager.ZooKeeperJobGraphStoreWatcher;
+import org.apache.flink.runtime.jobmanager.ZooKeeperExecutionPlanStoreUtil;
+import org.apache.flink.runtime.jobmanager.ZooKeeperExecutionPlanStoreWatcher;
 import org.apache.flink.runtime.leaderelection.LeaderInformation;
 import org.apache.flink.runtime.leaderretrieval.DefaultLeaderRetrievalService;
 import org.apache.flink.runtime.leaderretrieval.LeaderRetrievalDriverFactory;
@@ -51,6 +50,7 @@ import org.apache.flink.runtime.persistence.filesystem.FileSystemStateStorageHel
 import org.apache.flink.runtime.rpc.FatalErrorHandler;
 import org.apache.flink.runtime.state.SharedStateRegistryFactory;
 import org.apache.flink.runtime.zookeeper.ZooKeeperStateHandleStore;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.concurrent.Executors;
 import org.apache.flink.util.function.RunnableWithException;
 
@@ -99,7 +99,8 @@ public class ZooKeeperUtils {
     private static final Logger LOG = LoggerFactory.getLogger(ZooKeeperUtils.class);
 
     /** The prefix of the submitted job graph file. */
-    public static final String HA_STORAGE_SUBMITTED_JOBGRAPH_PREFIX = "submittedJobGraph";
+    public static final String HA_STORAGE_SUBMITTED_EXECUTION_PLAN_PREFIX =
+            "submittedExecutionPlan";
 
     /** The prefix of the completed checkpoint file. */
     public static final String HA_STORAGE_COMPLETED_CHECKPOINT = "completedCheckpoint";
@@ -514,25 +515,26 @@ public class ZooKeeperUtils {
     }
 
     /**
-     * Creates a {@link DefaultJobGraphStore} instance with {@link ZooKeeperStateHandleStore},
-     * {@link ZooKeeperJobGraphStoreWatcher} and {@link ZooKeeperJobGraphStoreUtil}.
+     * Creates a {@link DefaultExecutionPlanStore} instance with {@link ZooKeeperStateHandleStore},
+     * {@link ZooKeeperExecutionPlanStoreWatcher} and {@link ZooKeeperExecutionPlanStoreUtil}.
      *
      * @param client The {@link CuratorFramework} ZooKeeper client to use
      * @param configuration {@link Configuration} object
-     * @return {@link DefaultJobGraphStore} instance
-     * @throws Exception if the submitted job graph store cannot be created
+     * @return {@link DefaultExecutionPlanStore} instance
+     * @throws Exception if the submitted execution plan store cannot be created
      */
-    public static JobGraphStore createJobGraphs(
+    public static ExecutionPlanStore createExecutionPlans(
             CuratorFramework client, Configuration configuration) throws Exception {
 
         checkNotNull(configuration, "Configuration");
 
-        RetrievableStateStorageHelper<JobGraph> stateStorage =
-                createFileSystemStateStorage(configuration, HA_STORAGE_SUBMITTED_JOBGRAPH_PREFIX);
+        RetrievableStateStorageHelper<ExecutionPlan> stateStorage =
+                createFileSystemStateStorage(
+                        configuration, HA_STORAGE_SUBMITTED_EXECUTION_PLAN_PREFIX);
 
         // ZooKeeper submitted jobs root dir
         String zooKeeperJobsPath =
-                configuration.get(HighAvailabilityOptions.HA_ZOOKEEPER_JOBGRAPHS_PATH);
+                configuration.get(HighAvailabilityOptions.HA_ZOOKEEPER_EXECUTION_PLANS_PATH);
 
         // Ensure that the job graphs path exists
         client.newNamespaceAwareEnsurePath(zooKeeperJobsPath).ensure(client.getZookeeperClient());
@@ -540,17 +542,15 @@ public class ZooKeeperUtils {
         // All operations will have the path as root
         CuratorFramework facade = client.usingNamespace(client.getNamespace() + zooKeeperJobsPath);
 
-        final String zooKeeperFullJobsPath = client.getNamespace() + zooKeeperJobsPath;
-
-        final ZooKeeperStateHandleStore<JobGraph> zooKeeperStateHandleStore =
+        final ZooKeeperStateHandleStore<ExecutionPlan> zooKeeperStateHandleStore =
                 new ZooKeeperStateHandleStore<>(facade, stateStorage);
 
         final PathChildrenCache pathCache = new PathChildrenCache(facade, "/", false);
 
-        return new DefaultJobGraphStore<>(
+        return new DefaultExecutionPlanStore<>(
                 zooKeeperStateHandleStore,
-                new ZooKeeperJobGraphStoreWatcher(pathCache),
-                ZooKeeperJobGraphStoreUtil.INSTANCE);
+                new ZooKeeperExecutionPlanStoreWatcher(pathCache),
+                ZooKeeperExecutionPlanStoreUtil.INSTANCE);
     }
 
     /**
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/zookeeper/ZooKeeperStateHandleStore.java b/flink-runtime/src/main/java/org/apache/flink/runtime/zookeeper/ZooKeeperStateHandleStore.java
index 95c81ac7717..ecbd1d63e4b 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/zookeeper/ZooKeeperStateHandleStore.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/zookeeper/ZooKeeperStateHandleStore.java
@@ -269,7 +269,7 @@ public class ZooKeeperStateHandleStore<T extends Serializable>
                 throw new PossibleInconsistentStateException(e);
             }
 
-            // We wrap the exception here so that it could be caught in DefaultJobGraphStore
+            // We wrap the exception here so that it could be caught in DefaultExecutionPlanStore
             throw ExceptionUtils.findThrowable(e, KeeperException.NoNodeException.class)
                     .map(
                             nnee ->
@@ -620,7 +620,8 @@ public class ZooKeeperStateHandleStore<T extends Serializable>
             } catch (KeeperException.NoNodeException ex) {
                 // We could run into this exception because the parent node does not exist when we
                 // are trying to lock.
-                // We wrap the exception here so that it could be caught in DefaultJobGraphStore
+                // We wrap the exception here so that it could be caught in
+                // DefaultExecutionPlanStore
                 throw new NotExistException("ZooKeeper node " + path + " does not exist.", ex);
             }
         }
@@ -636,7 +637,7 @@ public class ZooKeeperStateHandleStore<T extends Serializable>
 
             return retrievableStateHandle;
         } catch (KeeperException.NoNodeException ex) {
-            // We wrap the exception here so that it could be caught in DefaultJobGraphStore
+            // We wrap the exception here so that it could be caught in DefaultExecutionPlanStore
             throw new NotExistException("ZooKeeper node " + path + " does not exist.", ex);
         } catch (IOException | ClassNotFoundException e) {
             throw new IOException(
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/AbstractDispatcherTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/AbstractDispatcherTest.java
index ce191522db5..b50a1826367 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/AbstractDispatcherTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/AbstractDispatcherTest.java
@@ -28,7 +28,7 @@ import org.apache.flink.runtime.heartbeat.HeartbeatServices;
 import org.apache.flink.runtime.heartbeat.HeartbeatServicesImpl;
 import org.apache.flink.runtime.highavailability.TestingHighAvailabilityServices;
 import org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedJobResultStore;
-import org.apache.flink.runtime.jobmanager.StandaloneJobGraphStore;
+import org.apache.flink.runtime.jobmanager.StandaloneExecutionPlanStore;
 import org.apache.flink.runtime.leaderretrieval.SettableLeaderRetrievalService;
 import org.apache.flink.runtime.rpc.RpcUtils;
 import org.apache.flink.runtime.rpc.TestingRpcService;
@@ -95,7 +95,7 @@ public class AbstractDispatcherTest extends TestLogger {
         haServices = new TestingHighAvailabilityServices();
         haServices.setCheckpointRecoveryFactory(new StandaloneCheckpointRecoveryFactory());
         haServices.setResourceManagerLeaderRetriever(new SettableLeaderRetrievalService());
-        haServices.setJobGraphStore(new StandaloneJobGraphStore());
+        haServices.setExecutionPlanStore(new StandaloneExecutionPlanStore());
         haServices.setJobResultStore(new EmbeddedJobResultStore());
 
         configuration = new Configuration();
@@ -108,7 +108,7 @@ public class AbstractDispatcherTest extends TestLogger {
                 .setConfiguration(configuration)
                 .setHeartbeatServices(heartbeatServices)
                 .setHighAvailabilityServices(haServices)
-                .setJobGraphWriter(haServices.getJobGraphStore())
+                .setExecutionPlanWriter(haServices.getExecutionPlanStore())
                 .setJobResultStore(haServices.getJobResultStore())
                 .setJobManagerRunnerFactory(JobMasterServiceLeadershipRunnerFactory.INSTANCE)
                 .setCleanupRunnerFactory(CheckpointResourcesCleanupRunnerFactory.INSTANCE)
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherCleanupITCase.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherCleanupITCase.java
index 70346d0ba78..92725c4b09d 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherCleanupITCase.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherCleanupITCase.java
@@ -37,7 +37,7 @@ import org.apache.flink.runtime.jobgraph.JobGraphBuilder;
 import org.apache.flink.runtime.jobgraph.JobVertex;
 import org.apache.flink.runtime.jobgraph.tasks.CheckpointCoordinatorConfiguration;
 import org.apache.flink.runtime.jobgraph.tasks.JobCheckpointingSettings;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.jobmaster.JobManagerRunner;
 import org.apache.flink.runtime.jobmaster.JobMasterGateway;
 import org.apache.flink.runtime.jobmaster.JobMasterId;
@@ -49,7 +49,7 @@ import org.apache.flink.runtime.rpc.RpcEndpoint;
 import org.apache.flink.runtime.rpc.RpcUtils;
 import org.apache.flink.runtime.testtasks.NoOpInvokable;
 import org.apache.flink.runtime.testutils.CommonTestUtils;
-import org.apache.flink.runtime.testutils.TestingJobGraphStore;
+import org.apache.flink.runtime.testutils.TestingExecutionPlanStore;
 import org.apache.flink.runtime.testutils.TestingJobResultStore;
 import org.apache.flink.util.concurrent.FutureUtils;
 
@@ -132,15 +132,15 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
         final JobGraph jobGraph = createJobGraph();
         final JobID jobId = jobGraph.getJobID();
 
-        // JobGraphStore
+        // ExecutionPlanStore
         final AtomicInteger actualGlobalCleanupCallCount = new AtomicInteger();
         final OneShotLatch successfulCleanupLatch = new OneShotLatch();
         final int numberOfErrors = 5;
         final RuntimeException temporaryError =
                 new RuntimeException("Expected RuntimeException: Unable to remove job graph.");
         final AtomicInteger failureCount = new AtomicInteger(numberOfErrors);
-        final JobGraphStore jobGraphStore =
-                TestingJobGraphStore.newBuilder()
+        final ExecutionPlanStore executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setGlobalCleanupFunction(
                                 (ignoredJobId, ignoredExecutor) -> {
                                     actualGlobalCleanupCallCount.incrementAndGet();
@@ -154,8 +154,8 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
                                 })
                         .build();
 
-        jobGraphStore.start(NoOpJobGraphListener.INSTANCE);
-        haServices.setJobGraphStore(jobGraphStore);
+        executionPlanStore.start(NoOpExecutionPlanListener.INSTANCE);
+        haServices.setExecutionPlanStore(executionPlanStore);
 
         // Construct leader election.
         final TestingLeaderElection leaderElection = new TestingLeaderElection();
@@ -172,7 +172,7 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
                                         TestingRetryStrategies.createWithNumberOfRetries(
                                                 numberOfErrors),
                                         jobManagerRunnerRegistry,
-                                        haServices.getJobGraphStore(),
+                                        haServices.getExecutionPlanStore(),
                                         blobServer,
                                         haServices,
                                         UnregisteredMetricGroups
@@ -194,8 +194,8 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
         assertThat(actualGlobalCleanupCallCount.get(), equalTo(numberOfErrors + 1));
 
         assertThat(
-                "The JobGraph should be removed from JobGraphStore.",
-                haServices.getJobGraphStore().getJobIds(),
+                "The JobGraph should be removed from ExecutionPlanStore.",
+                haServices.getExecutionPlanStore().getJobIds(),
                 IsEmptyCollection.empty());
 
         CommonTestUtils.waitUntilCondition(
@@ -258,12 +258,12 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
         final JobGraph jobGraph = createJobGraph();
         final JobID jobId = jobGraph.getJobID();
 
-        // Construct job graph store.
+        // Construct execution plan store.
         final AtomicInteger actualGlobalCleanupCallCount = new AtomicInteger();
         final OneShotLatch firstCleanupTriggered = new OneShotLatch();
         final CompletableFuture<JobID> successfulJobGraphCleanup = new CompletableFuture<>();
-        final JobGraphStore jobGraphStore =
-                TestingJobGraphStore.newBuilder()
+        final ExecutionPlanStore executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setGlobalCleanupFunction(
                                 (actualJobId, ignoredExecutor) -> {
                                     final int callCount =
@@ -281,8 +281,8 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
                                 })
                         .build();
 
-        jobGraphStore.start(NoOpJobGraphListener.INSTANCE);
-        haServices.setJobGraphStore(jobGraphStore);
+        executionPlanStore.start(NoOpExecutionPlanListener.INSTANCE);
+        haServices.setExecutionPlanStore(executionPlanStore);
 
         // Construct leader election.
         final TestingLeaderElection leaderElection = new TestingLeaderElection();
@@ -315,8 +315,8 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
                 equalTo(false));
 
         assertThat(
-                "The JobGraph is still stored in the JobGraphStore.",
-                haServices.getJobGraphStore().getJobIds(),
+                "The JobGraph is still stored in the ExecutionPlanStore.",
+                haServices.getExecutionPlanStore().getJobIds(),
                 equalTo(Collections.singleton(jobId)));
         assertThat(
                 "The JobResultStore should have this job marked as dirty.",
@@ -339,8 +339,8 @@ public class DispatcherCleanupITCase extends AbstractDispatcherTest {
                 () -> haServices.getJobResultStore().getDirtyResults().isEmpty());
 
         assertThat(
-                "The JobGraph is not stored in the JobGraphStore.",
-                haServices.getJobGraphStore().getJobIds(),
+                "The JobGraph is not stored in the ExecutionPlanStore.",
+                haServices.getExecutionPlanStore().getJobIds(),
                 IsEmptyCollection.empty());
         assertTrue(
                 "The JobResultStore has the job listed as clean.",
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherTest.java
index aa8ad3fbca6..099a9a051c9 100755
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherTest.java
@@ -93,7 +93,7 @@ import org.apache.flink.runtime.state.CheckpointStorageLocation;
 import org.apache.flink.runtime.state.CompletedCheckpointStorageLocation;
 import org.apache.flink.runtime.testtasks.NoOpInvokable;
 import org.apache.flink.runtime.testutils.CommonTestUtils;
-import org.apache.flink.runtime.testutils.TestingJobGraphStore;
+import org.apache.flink.runtime.testutils.TestingExecutionPlanStore;
 import org.apache.flink.runtime.testutils.TestingJobResultStore;
 import org.apache.flink.runtime.util.TestingFatalErrorHandler;
 import org.apache.flink.util.ExceptionUtils;
@@ -186,7 +186,7 @@ public class DispatcherTest extends AbstractDispatcherTest {
                         .setHighAvailabilityServices(haServices)
                         .setHeartbeatServices(heartbeatServices)
                         .setJobManagerRunnerFactory(jobManagerRunnerFactory)
-                        .setJobGraphWriter(haServices.getJobGraphStore())
+                        .setExecutionPlanWriter(haServices.getExecutionPlanStore())
                         .setJobResultStore(haServices.getJobResultStore())
                         .build(rpcService);
         dispatcher.start();
@@ -958,14 +958,14 @@ public class DispatcherTest extends AbstractDispatcherTest {
 
     @Test
     public void testPersistedJobGraphWhenDispatcherIsShutDown() throws Exception {
-        final TestingJobGraphStore submittedJobGraphStore =
-                TestingJobGraphStore.newBuilder().build();
-        submittedJobGraphStore.start(null);
-        haServices.setJobGraphStore(submittedJobGraphStore);
+        final TestingExecutionPlanStore submittedExecutionPlanStore =
+                TestingExecutionPlanStore.newBuilder().build();
+        submittedExecutionPlanStore.start(null);
+        haServices.setExecutionPlanStore(submittedExecutionPlanStore);
 
         dispatcher =
                 createTestingDispatcherBuilder()
-                        .setJobGraphWriter(submittedJobGraphStore)
+                        .setExecutionPlanWriter(submittedExecutionPlanStore)
                         .build(rpcService);
 
         dispatcher.start();
@@ -978,7 +978,7 @@ public class DispatcherTest extends AbstractDispatcherTest {
 
         dispatcher.close();
 
-        assertThat(submittedJobGraphStore.contains(jobGraph.getJobID()), Matchers.is(true));
+        assertThat(submittedExecutionPlanStore.contains(jobGraph.getJobID()), Matchers.is(true));
     }
 
     /** Tests that a submitted job is suspended if the Dispatcher is terminated. */
@@ -1065,8 +1065,8 @@ public class DispatcherTest extends AbstractDispatcherTest {
         final CompletableFuture<JobID> removeJobGraphFuture = new CompletableFuture<>();
         final CompletableFuture<JobID> releaseJobGraphFuture = new CompletableFuture<>();
 
-        final TestingJobGraphStore testingJobGraphStore =
-                TestingJobGraphStore.newBuilder()
+        final TestingExecutionPlanStore testingExecutionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setGlobalCleanupFunction(
                                 (jobId, executor) -> {
                                     removeJobGraphFuture.complete(jobId);
@@ -1078,17 +1078,17 @@ public class DispatcherTest extends AbstractDispatcherTest {
                                     return FutureUtils.completedVoidFuture();
                                 })
                         .build();
-        testingJobGraphStore.start(null);
+        testingExecutionPlanStore.start(null);
 
         dispatcher =
                 createTestingDispatcherBuilder()
                         .setRecoveredJobs(Collections.singleton(jobGraph))
-                        .setJobGraphWriter(testingJobGraphStore)
+                        .setExecutionPlanWriter(testingExecutionPlanStore)
                         .build(rpcService);
         dispatcher.start();
 
         final CompletableFuture<Void> processFuture =
-                dispatcher.onRemovedJobGraph(jobGraph.getJobID());
+                dispatcher.onRemovedExecutionPlan(jobGraph.getJobID());
 
         processFuture.join();
 
@@ -1096,7 +1096,7 @@ public class DispatcherTest extends AbstractDispatcherTest {
 
         try {
             removeJobGraphFuture.get(10L, TimeUnit.MILLISECONDS);
-            fail("onRemovedJobGraph should not remove the job from the JobGraphStore.");
+            fail("onRemovedExecutionPlan should not remove the job from the ExecutionPlanStore.");
         } catch (TimeoutException expected) {
         }
     }
@@ -1346,15 +1346,15 @@ public class DispatcherTest extends AbstractDispatcherTest {
 
         final AtomicReference<CompletableFuture<Void>> jobGraphPersistedFutureRef =
                 new AtomicReference<>();
-        final TestingJobGraphStore jobGraphStore =
-                TestingJobGraphStore.newBuilder()
-                        .setPutJobGraphConsumer(
+        final TestingExecutionPlanStore executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        .setPutExecutionPlanConsumer(
                                 jobGraph ->
                                         Optional.ofNullable(jobGraphPersistedFutureRef.get())
                                                 .map(f -> f.complete(null)))
                         .build();
-        haServices.setJobGraphStore(jobGraphStore);
-        jobGraphStore.start(null);
+        haServices.setExecutionPlanStore(executionPlanStore);
+        executionPlanStore.start(null);
 
         dispatcher =
                 createAndStartDispatcher(
@@ -1390,15 +1390,15 @@ public class DispatcherTest extends AbstractDispatcherTest {
         // the adaptive scheduler isn't strictly required, but it simplifies testing
         configuration.set(JobManagerOptions.SCHEDULER, JobManagerOptions.SchedulerType.Adaptive);
 
-        final TestingJobGraphStore jobGraphStore =
-                TestingJobGraphStore.newBuilder()
+        final TestingExecutionPlanStore executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setPutJobResourceRequirementsConsumer(
                                 (i1, i2) -> {
                                     throw new RuntimeException("artificial persist failure");
                                 })
                         .build();
-        haServices.setJobGraphStore(jobGraphStore);
-        jobGraphStore.start(null);
+        haServices.setExecutionPlanStore(executionPlanStore);
+        executionPlanStore.start(null);
 
         dispatcher =
                 createAndStartDispatcher(
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/MiniDispatcherTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/MiniDispatcherTest.java
index cce17718175..f0d1b86ffc8 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/MiniDispatcherTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/MiniDispatcherTest.java
@@ -355,7 +355,7 @@ public class MiniDispatcherTest extends TestLogger {
                         null,
                         new DispatcherOperationCaches(),
                         UnregisteredMetricGroups.createUnregisteredJobManagerMetricGroup(),
-                        highAvailabilityServices.getJobGraphStore(),
+                        highAvailabilityServices.getExecutionPlanStore(),
                         highAvailabilityServices.getJobResultStore(),
                         testingJobManagerRunnerFactory,
                         testingCleanupRunnerFactory,
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpJobGraphListener.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpExecutionPlanListener.java
similarity index 72%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpJobGraphListener.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpExecutionPlanListener.java
index f40faf12bba..fc1579547b7 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpJobGraphListener.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpExecutionPlanListener.java
@@ -19,19 +19,21 @@
 package org.apache.flink.runtime.dispatcher;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 
-/** No operation {@link JobGraphStore.JobGraphListener} implemetation for testing purposes. */
-public enum NoOpJobGraphListener implements JobGraphStore.JobGraphListener {
+/**
+ * No operation {@link ExecutionPlanStore.ExecutionPlanListener} implemetation for testing purposes.
+ */
+public enum NoOpExecutionPlanListener implements ExecutionPlanStore.ExecutionPlanListener {
     INSTANCE;
 
     @Override
-    public void onAddedJobGraph(JobID jobId) {
+    public void onAddedExecutionPlan(JobID jobId) {
         // No op
     }
 
     @Override
-    public void onRemovedJobGraph(JobID jobId) {
+    public void onRemovedExecutionPlan(JobID jobId) {
         // No op
     }
 }
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpJobGraphWriter.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpExecutionPlanWriter.java
similarity index 77%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpJobGraphWriter.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpExecutionPlanWriter.java
index ad481abc03c..b14a0b4b501 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpJobGraphWriter.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/NoOpExecutionPlanWriter.java
@@ -19,16 +19,16 @@
 package org.apache.flink.runtime.dispatcher;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobResourceRequirements;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 
-/** Testing implementation of {@link JobGraphWriter} which does nothing. */
-public enum NoOpJobGraphWriter implements JobGraphWriter {
+/** Testing implementation of {@link ExecutionPlanWriter} which does nothing. */
+public enum NoOpExecutionPlanWriter implements ExecutionPlanWriter {
     INSTANCE;
 
     @Override
-    public void putJobGraph(JobGraph jobGraph) {
+    public void putExecutionPlan(ExecutionPlan executionPlan) {
         // No-op.
     }
 
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/TestingDispatcher.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/TestingDispatcher.java
index cc12ce5d389..81241e1ed2c 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/TestingDispatcher.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/TestingDispatcher.java
@@ -32,8 +32,7 @@ import org.apache.flink.runtime.highavailability.HighAvailabilityServices;
 import org.apache.flink.runtime.highavailability.JobResultStore;
 import org.apache.flink.runtime.highavailability.TestingHighAvailabilityServices;
 import org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedJobResultStore;
-import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.metrics.groups.JobManagerMetricGroup;
 import org.apache.flink.runtime.metrics.groups.UnregisteredMetricGroups;
@@ -44,6 +43,7 @@ import org.apache.flink.runtime.rpc.RpcService;
 import org.apache.flink.runtime.scheduler.ExecutionGraphInfo;
 import org.apache.flink.runtime.util.TestingFatalErrorHandler;
 import org.apache.flink.runtime.webmonitor.retriever.GatewayRetriever;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.testutils.TestingUtils;
 import org.apache.flink.util.Preconditions;
 
@@ -68,7 +68,7 @@ class TestingDispatcher extends Dispatcher {
     private TestingDispatcher(
             RpcService rpcService,
             DispatcherId fencingToken,
-            Collection<JobGraph> recoveredJobs,
+            Collection<ExecutionPlan> recoveredJobs,
             Collection<JobResult> recoveredDirtyJobs,
             Configuration configuration,
             HighAvailabilityServices highAvailabilityServices,
@@ -76,7 +76,7 @@ class TestingDispatcher extends Dispatcher {
             HeartbeatServices heartbeatServices,
             BlobServer blobServer,
             FatalErrorHandler fatalErrorHandler,
-            JobGraphWriter jobGraphWriter,
+            ExecutionPlanWriter executionPlanWriter,
             JobResultStore jobResultStore,
             JobManagerMetricGroup jobManagerMetricGroup,
             @Nullable String metricServiceQueryAddress,
@@ -108,7 +108,7 @@ class TestingDispatcher extends Dispatcher {
                         metricServiceQueryAddress,
                         dispatcherOperationCaches,
                         jobManagerMetricGroup,
-                        jobGraphWriter,
+                        executionPlanWriter,
                         jobResultStore,
                         jobManagerRunnerFactory,
                         cleanupRunnerFactory,
@@ -167,7 +167,7 @@ class TestingDispatcher extends Dispatcher {
 
     public static class Builder {
         private DispatcherId fencingToken = DispatcherId.generate();
-        private Collection<JobGraph> recoveredJobs = Collections.emptyList();
+        private Collection<ExecutionPlan> recoveredJobs = Collections.emptyList();
         @Nullable private Collection<JobResult> recoveredDirtyJobs = null;
         private HighAvailabilityServices highAvailabilityServices =
                 new TestingHighAvailabilityServices();
@@ -178,7 +178,7 @@ class TestingDispatcher extends Dispatcher {
                 () -> CompletableFuture.completedFuture(resourceManagerGateway);
         private HeartbeatServices heartbeatServices = new HeartbeatServicesImpl(1000L, 1000L);
 
-        private JobGraphWriter jobGraphWriter = NoOpJobGraphWriter.INSTANCE;
+        private ExecutionPlanWriter executionPlanWriter = NoOpExecutionPlanWriter.INSTANCE;
         private JobResultStore jobResultStore = new EmbeddedJobResultStore();
 
         private Configuration configuration = new Configuration();
@@ -210,7 +210,7 @@ class TestingDispatcher extends Dispatcher {
             return this;
         }
 
-        public Builder setRecoveredJobs(Collection<JobGraph> recoveredJobs) {
+        public Builder setRecoveredJobs(Collection<ExecutionPlan> recoveredJobs) {
             this.recoveredJobs = recoveredJobs;
             return this;
         }
@@ -243,8 +243,8 @@ class TestingDispatcher extends Dispatcher {
             return this;
         }
 
-        public Builder setJobGraphWriter(JobGraphWriter jobGraphWriter) {
-            this.jobGraphWriter = jobGraphWriter;
+        public Builder setExecutionPlanWriter(ExecutionPlanWriter executionPlanWriter) {
+            this.executionPlanWriter = executionPlanWriter;
             return this;
         }
 
@@ -331,7 +331,7 @@ class TestingDispatcher extends Dispatcher {
                     ioExecutor,
                     TestingRetryStrategies.NO_RETRY_STRATEGY,
                     jobManagerRunnerRegistry,
-                    jobGraphWriter,
+                    executionPlanWriter,
                     blobServer,
                     highAvailabilityServices,
                     jobManagerMetricGroup);
@@ -353,7 +353,7 @@ class TestingDispatcher extends Dispatcher {
                             blobServer,
                             "No BlobServer is specified for building the TestingDispatcher"),
                     fatalErrorHandler,
-                    jobGraphWriter,
+                    executionPlanWriter,
                     jobResultStore,
                     jobManagerMetricGroup,
                     metricServiceQueryAddress,
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactoryTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactoryTest.java
index 9573ad0e656..dc88be4c147 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactoryTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/cleanup/DispatcherResourceCleanerFactoryTest.java
@@ -27,11 +27,11 @@ import org.apache.flink.runtime.dispatcher.JobManagerRunnerRegistry;
 import org.apache.flink.runtime.dispatcher.TestingJobManagerRunnerRegistry;
 import org.apache.flink.runtime.highavailability.HighAvailabilityServices;
 import org.apache.flink.runtime.highavailability.TestingHighAvailabilityServices;
-import org.apache.flink.runtime.jobmanager.JobGraphWriter;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanWriter;
 import org.apache.flink.runtime.metrics.MetricRegistry;
 import org.apache.flink.runtime.metrics.groups.JobManagerMetricGroup;
 import org.apache.flink.runtime.metrics.util.TestingMetricRegistry;
-import org.apache.flink.runtime.testutils.TestingJobGraphStore;
+import org.apache.flink.runtime.testutils.TestingExecutionPlanStore;
 import org.apache.flink.util.concurrent.Executors;
 import org.apache.flink.util.concurrent.FutureUtils;
 
@@ -61,8 +61,8 @@ public class DispatcherResourceCleanerFactoryTest {
     private CompletableFuture<JobID> jobManagerRunnerRegistryLocalCleanupFuture;
     private CompletableFuture<Void> jobManagerRunnerRegistryLocalCleanupResultFuture;
 
-    private CompletableFuture<JobID> jobGraphWriterLocalCleanupFuture;
-    private CompletableFuture<JobID> jobGraphWriterGlobalCleanupFuture;
+    private CompletableFuture<JobID> executionPlanWriterLocalCleanupFuture;
+    private CompletableFuture<JobID> executionPlanWriterGlobalCleanupFuture;
 
     private CompletableFuture<JobID> highAvailabilityServicesGlobalCleanupFuture;
     private JobManagerMetricGroup jobManagerMetricGroup;
@@ -84,7 +84,7 @@ public class DispatcherResourceCleanerFactoryTest {
                         Executors.directExecutor(),
                         TestingRetryStrategies.NO_RETRY_STRATEGY,
                         createJobManagerRunnerRegistry(),
-                        createJobGraphWriter(),
+                        createExecutionPlanWriter(),
                         blobServer,
                         createHighAvailabilityServices(),
                         jobManagerMetricGroup);
@@ -103,25 +103,25 @@ public class DispatcherResourceCleanerFactoryTest {
                 .build();
     }
 
-    private JobGraphWriter createJobGraphWriter() throws Exception {
-        jobGraphWriterLocalCleanupFuture = new CompletableFuture<>();
-        jobGraphWriterGlobalCleanupFuture = new CompletableFuture<>();
-        final TestingJobGraphStore jobGraphStore =
-                TestingJobGraphStore.newBuilder()
+    private ExecutionPlanWriter createExecutionPlanWriter() throws Exception {
+        executionPlanWriterLocalCleanupFuture = new CompletableFuture<>();
+        executionPlanWriterGlobalCleanupFuture = new CompletableFuture<>();
+        final TestingExecutionPlanStore executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setGlobalCleanupFunction(
                                 (jobId, executor) -> {
-                                    jobGraphWriterGlobalCleanupFuture.complete(jobId);
+                                    executionPlanWriterGlobalCleanupFuture.complete(jobId);
                                     return FutureUtils.completedVoidFuture();
                                 })
                         .setLocalCleanupFunction(
                                 (jobId, ignoredExecutor) -> {
-                                    jobGraphWriterLocalCleanupFuture.complete(jobId);
+                                    executionPlanWriterLocalCleanupFuture.complete(jobId);
                                     return FutureUtils.completedVoidFuture();
                                 })
                         .build();
-        jobGraphStore.start(null);
+        executionPlanStore.start(null);
 
-        return jobGraphStore;
+        return executionPlanStore;
     }
 
     private HighAvailabilityServices createHighAvailabilityServices() {
@@ -150,8 +150,8 @@ public class DispatcherResourceCleanerFactoryTest {
 
         assertThat(jobManagerRunnerRegistryLocalCleanupFuture).isCompleted();
 
-        assertThat(jobGraphWriterLocalCleanupFuture).isCompleted();
-        assertThat(jobGraphWriterGlobalCleanupFuture).isNotDone();
+        assertThat(executionPlanWriterLocalCleanupFuture).isCompleted();
+        assertThat(executionPlanWriterGlobalCleanupFuture).isNotDone();
 
         assertThat(blobServer.getLocalCleanupFuture()).isCompleted();
         assertThat(blobServer.getGlobalCleanupFuture()).isNotDone();
@@ -183,8 +183,8 @@ public class DispatcherResourceCleanerFactoryTest {
 
         assertThat(jobManagerRunnerRegistryLocalCleanupFuture).isCompleted();
 
-        assertThat(jobGraphWriterLocalCleanupFuture).isNotDone();
-        assertThat(jobGraphWriterGlobalCleanupFuture).isCompleted();
+        assertThat(executionPlanWriterLocalCleanupFuture).isNotDone();
+        assertThat(executionPlanWriterGlobalCleanupFuture).isCompleted();
 
         assertThat(blobServer.getLocalCleanupFuture()).isNotDone();
         assertThat(blobServer.getGlobalCleanupFuture()).isCompleted();
@@ -209,8 +209,8 @@ public class DispatcherResourceCleanerFactoryTest {
     }
 
     private void assertNoRegularCleanupsTriggered() {
-        assertThat(jobGraphWriterLocalCleanupFuture).isNotDone();
-        assertThat(jobGraphWriterGlobalCleanupFuture).isNotDone();
+        assertThat(executionPlanWriterLocalCleanupFuture).isNotDone();
+        assertThat(executionPlanWriterGlobalCleanupFuture).isNotDone();
 
         assertThat(blobServer.getLocalCleanupFuture()).isNotDone();
         assertThat(blobServer.getGlobalCleanupFuture()).isNotDone();
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherRunnerITCase.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherRunnerITCase.java
index fa0f41efc27..f11a6587a43 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherRunnerITCase.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/DefaultDispatcherRunnerITCase.java
@@ -40,7 +40,7 @@ import org.apache.flink.runtime.highavailability.JobResultStore;
 import org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedJobResultStore;
 import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobGraphTestUtils;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.jobmanager.TestingJobPersistenceComponentFactory;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.jobmaster.TestingJobManagerRunner;
@@ -48,9 +48,10 @@ import org.apache.flink.runtime.leaderelection.LeaderInformation;
 import org.apache.flink.runtime.leaderelection.TestingLeaderElection;
 import org.apache.flink.runtime.rpc.RpcService;
 import org.apache.flink.runtime.rpc.TestingRpcServiceExtension;
-import org.apache.flink.runtime.testutils.TestingJobGraphStore;
+import org.apache.flink.runtime.testutils.TestingExecutionPlanStore;
 import org.apache.flink.runtime.util.BlobServerExtension;
 import org.apache.flink.runtime.util.TestingFatalErrorHandler;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.testutils.TestingUtils;
 import org.apache.flink.testutils.executor.TestExecutorExtension;
 
@@ -96,7 +97,7 @@ class DefaultDispatcherRunnerITCase {
 
     private TestingFatalErrorHandler fatalErrorHandler;
 
-    private JobGraphStore jobGraphStore;
+    private ExecutionPlanStore executionPlanStore;
 
     private JobResultStore jobResultStore;
 
@@ -112,7 +113,7 @@ class DefaultDispatcherRunnerITCase {
         jobGraph = createJobGraph();
         dispatcherLeaderElection = new TestingLeaderElection();
         fatalErrorHandler = new TestingFatalErrorHandler();
-        jobGraphStore = TestingJobGraphStore.newBuilder().build();
+        executionPlanStore = TestingExecutionPlanStore.newBuilder().build();
         jobResultStore = new EmbeddedJobResultStore();
 
         partialDispatcherServices =
@@ -182,8 +183,8 @@ class DefaultDispatcherRunnerITCase {
                 DefaultDispatcherRunnerFactory.createSessionRunner(
                         new TestingDispatcherFactory(
                                 jobManagerRunnerFactory, cleanupRunnerFactory));
-        jobGraphStore.start(null);
-        jobGraphStore.putJobGraph(jobGraph);
+        executionPlanStore.start(null);
+        executionPlanStore.putExecutionPlan(jobGraph);
 
         try (final DispatcherRunner dispatcherRunner = createDispatcherRunner()) {
 
@@ -250,7 +251,7 @@ class DefaultDispatcherRunnerITCase {
         public Dispatcher createDispatcher(
                 RpcService rpcService,
                 DispatcherId fencingToken,
-                Collection<JobGraph> recoveredJobs,
+                Collection<ExecutionPlan> recoveredJobs,
                 Collection<JobResult> recoveredDirtyJobResults,
                 DispatcherBootstrapFactory dispatcherBootstrapFactory,
                 PartialDispatcherServicesWithJobPersistenceComponents
@@ -277,7 +278,7 @@ class DefaultDispatcherRunnerITCase {
         return dispatcherRunnerFactory.createDispatcherRunner(
                 dispatcherLeaderElection,
                 fatalErrorHandler,
-                new TestingJobPersistenceComponentFactory(jobGraphStore, jobResultStore),
+                new TestingJobPersistenceComponentFactory(executionPlanStore, jobResultStore),
                 EXECUTOR_RESOURCE.getExecutor(),
                 rpcServiceExtensionWrapper.getCustomExtension().getTestingRpcService(),
                 partialDispatcherServices);
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcessFactoryFactoryTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcessFactoryFactoryTest.java
index 257294e8c4b..b09d5da3cbd 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcessFactoryFactoryTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/JobDispatcherLeaderProcessFactoryFactoryTest.java
@@ -24,8 +24,8 @@ import org.apache.flink.runtime.dispatcher.TestingPartialDispatcherServices;
 import org.apache.flink.runtime.highavailability.TestingHighAvailabilityServicesBuilder;
 import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobGraphTestUtils;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
-import org.apache.flink.runtime.jobmanager.StandaloneJobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
+import org.apache.flink.runtime.jobmanager.StandaloneExecutionPlanStore;
 import org.apache.flink.runtime.jobmanager.TestingJobPersistenceComponentFactory;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.rest.util.NoOpFatalErrorHandler;
@@ -117,15 +117,15 @@ class JobDispatcherLeaderProcessFactoryFactoryTest {
                         .withGetDirtyResultsSupplier(
                                 () -> CollectionUtil.ofNullable(dirtyJobResult))
                         .build();
-        final JobGraphStore jobGraphStore = new StandaloneJobGraphStore();
+        final ExecutionPlanStore executionPlanStore = new StandaloneExecutionPlanStore();
         return testInstance.createFactory(
-                new TestingJobPersistenceComponentFactory(jobGraphStore, jobResultStore),
+                new TestingJobPersistenceComponentFactory(executionPlanStore, jobResultStore),
                 Executors.directExecutor(),
                 new TestingRpcService(),
                 TestingPartialDispatcherServices.builder()
                         .withHighAvailabilityServices(
                                 new TestingHighAvailabilityServicesBuilder()
-                                        .setJobGraphStore(jobGraphStore)
+                                        .setExecutionPlanStore(executionPlanStore)
                                         .setJobResultStore(jobResultStore)
                                         .build())
                         .build(storageDir.toFile(), new Configuration()),
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessTest.java
index e69f677e163..6a3ad40817e 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/SessionDispatcherLeaderProcessTest.java
@@ -26,13 +26,14 @@ import org.apache.flink.runtime.client.JobSubmissionException;
 import org.apache.flink.runtime.highavailability.JobResultStore;
 import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobGraphTestUtils;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.messages.Acknowledge;
-import org.apache.flink.runtime.testutils.TestingJobGraphStore;
+import org.apache.flink.runtime.testutils.TestingExecutionPlanStore;
 import org.apache.flink.runtime.testutils.TestingJobResultStore;
 import org.apache.flink.runtime.util.TestingFatalErrorHandler;
 import org.apache.flink.runtime.webmonitor.TestingDispatcherGateway;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.ExecutorUtils;
 import org.apache.flink.util.FlinkException;
 import org.apache.flink.util.TestLoggerExtension;
@@ -78,7 +79,7 @@ class SessionDispatcherLeaderProcessTest {
 
     private TestingFatalErrorHandler fatalErrorHandler;
 
-    private JobGraphStore jobGraphStore;
+    private ExecutionPlanStore executionPlanStore;
     private JobResultStore jobResultStore;
 
     private AbstractDispatcherLeaderProcess.DispatcherGatewayServiceFactory
@@ -92,7 +93,7 @@ class SessionDispatcherLeaderProcessTest {
     @BeforeEach
     void setup() {
         fatalErrorHandler = new TestingFatalErrorHandler();
-        jobGraphStore = TestingJobGraphStore.newBuilder().build();
+        executionPlanStore = TestingExecutionPlanStore.newBuilder().build();
         jobResultStore = TestingJobResultStore.builder().build();
         dispatcherServiceFactory =
                 createFactoryBasedOnGenericSupplier(
@@ -141,25 +142,28 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void testRecoveryWithJobGraphButNoDirtyJobResult() throws Exception {
+    void testRecoveryWithExecutionPlanButNoDirtyJobResult() throws Exception {
         testJobRecovery(
                 Collections.singleton(JOB_GRAPH),
                 Collections.emptySet(),
-                actualRecoveredJobGraphs ->
-                        assertThat(actualRecoveredJobGraphs).singleElement().isEqualTo(JOB_GRAPH),
+                actualRecoveredExecutionPlans ->
+                        assertThat(actualRecoveredExecutionPlans)
+                                .singleElement()
+                                .isEqualTo(JOB_GRAPH),
                 actualRecoveredDirtyJobResults ->
                         assertThat(actualRecoveredDirtyJobResults).isEmpty());
     }
 
     @Test
-    void testRecoveryWithJobGraphAndMatchingDirtyJobResult() throws Exception {
+    void testRecoveryWithExecutionPlanAndMatchingDirtyJobResult() throws Exception {
         final JobResult matchingDirtyJobResult =
                 TestingJobResultStore.createSuccessfulJobResult(JOB_GRAPH.getJobID());
 
         testJobRecovery(
                 Collections.singleton(JOB_GRAPH),
                 Collections.singleton(matchingDirtyJobResult),
-                actualRecoveredJobGraphs -> assertThat(actualRecoveredJobGraphs).isEmpty(),
+                actualRecoveredExecutionPlans ->
+                        assertThat(actualRecoveredExecutionPlans).isEmpty(),
                 actualRecoveredDirtyJobResults ->
                         assertThat(actualRecoveredDirtyJobResults)
                                 .singleElement()
@@ -167,18 +171,18 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void testRecoveryWithMultipleJobGraphsAndOneMatchingDirtyJobResult() throws Exception {
+    void testRecoveryWithMultipleExecutionPlansAndOneMatchingDirtyJobResult() throws Exception {
         final JobResult matchingDirtyJobResult =
                 TestingJobResultStore.createSuccessfulJobResult(JOB_GRAPH.getJobID());
-        final JobGraph otherJobGraph = JobGraphTestUtils.emptyJobGraph();
+        final ExecutionPlan otherExecutionPlan = JobGraphTestUtils.emptyJobGraph();
 
         testJobRecovery(
-                Arrays.asList(otherJobGraph, JOB_GRAPH),
+                Arrays.asList(otherExecutionPlan, JOB_GRAPH),
                 Collections.singleton(matchingDirtyJobResult),
-                actualRecoveredJobGraphs ->
-                        assertThat(actualRecoveredJobGraphs)
+                actualRecoveredExecutionPlans ->
+                        assertThat(actualRecoveredExecutionPlans)
                                 .singleElement()
-                                .isEqualTo(otherJobGraph),
+                                .isEqualTo(otherExecutionPlan),
                 actualRecoveredDirtyJobResults ->
                         assertThat(actualRecoveredDirtyJobResults)
                                 .singleElement()
@@ -186,14 +190,15 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void testRecoveryWithoutJobGraphButDirtyJobResult() throws Exception {
+    void testRecoveryWithoutExecutionPlanButDirtyJobResult() throws Exception {
         final JobResult dirtyJobResult =
                 TestingJobResultStore.createSuccessfulJobResult(new JobID());
 
         testJobRecovery(
                 Collections.emptyList(),
                 Collections.singleton(dirtyJobResult),
-                actualRecoveredJobGraphs -> assertThat(actualRecoveredJobGraphs).isEmpty(),
+                actualRecoveredExecutionPlans ->
+                        assertThat(actualRecoveredExecutionPlans).isEmpty(),
                 actualRecoveredDirtyJobResults ->
                         assertThat(actualRecoveredDirtyJobResults)
                                 .singleElement()
@@ -201,20 +206,22 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     private void testJobRecovery(
-            Collection<JobGraph> jobGraphsToRecover,
+            Collection<ExecutionPlan> executionPlansToRecover,
             Set<JobResult> dirtyJobResults,
-            Consumer<Collection<JobGraph>> recoveredJobGraphAssertion,
+            Consumer<Collection<ExecutionPlan>> recoveredExecutionPlanAssertion,
             Consumer<Collection<JobResult>> recoveredDirtyJobResultAssertion)
             throws Exception {
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder().setInitialJobGraphs(jobGraphsToRecover).build();
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        .setInitialExecutionPlans(executionPlansToRecover)
+                        .build();
 
         jobResultStore =
                 TestingJobResultStore.builder()
                         .withGetDirtyResultsSupplier(() -> dirtyJobResults)
                         .build();
 
-        final CompletableFuture<Collection<JobGraph>> recoveredJobGraphsFuture =
+        final CompletableFuture<Collection<ExecutionPlan>> recoveredExecutionPlansFuture =
                 new CompletableFuture<>();
         final CompletableFuture<Collection<JobResult>> recoveredDirtyJobResultsFuture =
                 new CompletableFuture<>();
@@ -222,9 +229,9 @@ class SessionDispatcherLeaderProcessTest {
                 (ignoredDispatcherId,
                         recoveredJobs,
                         recoveredDirtyJobResults,
-                        ignoredJobGraphWriter,
+                        ignoredExecutionPlanWriter,
                         ignoredJobResultStore) -> {
-                    recoveredJobGraphsFuture.complete(recoveredJobs);
+                    recoveredExecutionPlansFuture.complete(recoveredJobs);
                     recoveredDirtyJobResultsFuture.complete(recoveredDirtyJobResults);
                     return TestingDispatcherGatewayService.newBuilder().build();
                 };
@@ -233,23 +240,24 @@ class SessionDispatcherLeaderProcessTest {
                 createDispatcherLeaderProcess()) {
             dispatcherLeaderProcess.start();
 
-            recoveredJobGraphAssertion.accept(recoveredJobGraphsFuture.get());
+            recoveredExecutionPlanAssertion.accept(recoveredExecutionPlansFuture.get());
             recoveredDirtyJobResultAssertion.accept(recoveredDirtyJobResultsFuture.get());
         }
     }
 
     @Test
-    void testRecoveryWhileJobGraphRecoveryIsScheduledConcurrently() throws Exception {
+    void testRecoveryWhileExecutionPlanRecoveryIsScheduledConcurrently() throws Exception {
         final JobResult dirtyJobResult =
                 TestingJobResultStore.createSuccessfulJobResult(new JobID());
 
         OneShotLatch recoveryInitiatedLatch = new OneShotLatch();
         OneShotLatch jobGraphAddedLatch = new OneShotLatch();
 
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
-                        // mimic behavior when recovering a JobGraph that is marked for deletion
-                        .setRecoverJobGraphFunction((jobId, jobs) -> null)
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        // mimic behavior when recovering a ExecutionPlan that is marked for
+                        // deletion
+                        .setRecoverExecutionPlanFunction((jobId, jobs) -> null)
                         .build();
 
         jobResultStore =
@@ -266,7 +274,7 @@ class SessionDispatcherLeaderProcessTest {
                                 })
                         .build();
 
-        final CompletableFuture<Collection<JobGraph>> recoveredJobGraphsFuture =
+        final CompletableFuture<Collection<ExecutionPlan>> recoveredExecutionPlansFuture =
                 new CompletableFuture<>();
         final CompletableFuture<Collection<JobResult>> recoveredDirtyJobResultsFuture =
                 new CompletableFuture<>();
@@ -274,9 +282,9 @@ class SessionDispatcherLeaderProcessTest {
                 (ignoredDispatcherId,
                         recoveredJobs,
                         recoveredDirtyJobResults,
-                        ignoredJobGraphWriter,
+                        ignoredExecutionPlanWriter,
                         ignoredJobResultStore) -> {
-                    recoveredJobGraphsFuture.complete(recoveredJobs);
+                    recoveredExecutionPlansFuture.complete(recoveredJobs);
                     recoveredDirtyJobResultsFuture.complete(recoveredDirtyJobResults);
                     return TestingDispatcherGatewayService.newBuilder().build();
                 };
@@ -288,12 +296,13 @@ class SessionDispatcherLeaderProcessTest {
             // start returns without the initial recovery being completed
             // mimic ZK message about an added jobgraph while the recovery is ongoing
             recoveryInitiatedLatch.await();
-            dispatcherLeaderProcess.onAddedJobGraph(dirtyJobResult.getJobId());
+            dispatcherLeaderProcess.onAddedExecutionPlan(dirtyJobResult.getJobId());
             jobGraphAddedLatch.trigger();
 
-            assertThatFuture(recoveredJobGraphsFuture)
+            assertThatFuture(recoveredExecutionPlansFuture)
                     .eventuallySucceeds()
-                    .satisfies(recoverJobGraphs -> assertThat(recoverJobGraphs).isEmpty());
+                    .satisfies(
+                            recoverExecutionPlans -> assertThat(recoverExecutionPlans).isEmpty());
             assertThatFuture(recoveredDirtyJobResultsFuture)
                     .eventuallySucceeds()
                     .satisfies(
@@ -304,10 +313,10 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void closeAsync_stopsJobGraphStoreAndDispatcher() throws Exception {
+    void closeAsync_stopsExecutionPlanStoreAndDispatcher() throws Exception {
         final CompletableFuture<Void> jobGraphStopFuture = new CompletableFuture<>();
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setStopRunnable(() -> jobGraphStopFuture.complete(null))
                         .build();
 
@@ -335,7 +344,7 @@ class SessionDispatcherLeaderProcessTest {
 
             dispatcherServiceTerminationFuture.complete(null);
 
-            // verify that we shut down the JobGraphStore
+            // verify that we shut down the ExecutionPlanStore
             jobGraphStopFuture.get();
 
             // verify that we completed the dispatcher leader process shut down
@@ -433,8 +442,8 @@ class SessionDispatcherLeaderProcessTest {
         final OneShotLatch completeJobRecoveryLatch = new OneShotLatch();
         final OneShotLatch createDispatcherServiceLatch = new OneShotLatch();
 
-        this.jobGraphStore =
-                TestingJobGraphStore.newBuilder()
+        this.executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setJobIdsFunction(
                                 storedJobs -> {
                                     jobRecoveryStartedLatch.trigger();
@@ -468,10 +477,10 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void onRemovedJobGraph_terminatesRunningJob() throws Exception {
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
-                        .setInitialJobGraphs(Collections.singleton(JOB_GRAPH))
+    void onRemovedExecutionPlan_terminatesRunningJob() throws Exception {
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        .setInitialExecutionPlans(Collections.singleton(JOB_GRAPH))
                         .build();
 
         final CompletableFuture<JobID> terminateJobFuture = new CompletableFuture<>();
@@ -495,9 +504,9 @@ class SessionDispatcherLeaderProcessTest {
             // wait for the dispatcher process to be created
             dispatcherLeaderProcess.getDispatcherGateway().get();
 
-            // now remove the Job from the JobGraphStore and notify the dispatcher service
-            jobGraphStore.globalCleanupAsync(JOB_GRAPH.getJobID(), executorService).join();
-            dispatcherLeaderProcess.onRemovedJobGraph(JOB_GRAPH.getJobID());
+            // now remove the Job from the ExecutionPlanStore and notify the dispatcher service
+            executionPlanStore.globalCleanupAsync(JOB_GRAPH.getJobID(), executorService).join();
+            dispatcherLeaderProcess.onRemovedExecutionPlan(JOB_GRAPH.getJobID());
 
             assertThat(terminateJobFuture.get()).isEqualTo(JOB_GRAPH.getJobID());
         } finally {
@@ -506,7 +515,7 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void onRemovedJobGraph_failingRemovalCall_failsFatally() throws Exception {
+    void onRemovedExecutionPlan_failingRemovalCall_failsFatally() throws Exception {
         final FlinkException testException = new FlinkException("Test exception");
 
         final TestingDispatcherGatewayService testingDispatcherService =
@@ -526,7 +535,7 @@ class SessionDispatcherLeaderProcessTest {
             dispatcherLeaderProcess.getDispatcherGateway().get();
 
             // now notify the dispatcher service
-            dispatcherLeaderProcess.onRemovedJobGraph(JOB_GRAPH.getJobID());
+            dispatcherLeaderProcess.onRemovedExecutionPlan(JOB_GRAPH.getJobID());
 
             final Throwable fatalError = fatalErrorHandler.getErrorFuture().join();
 
@@ -537,8 +546,8 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void onAddedJobGraph_submitsRecoveredJob() throws Exception {
-        final CompletableFuture<JobGraph> submittedJobFuture = new CompletableFuture<>();
+    void onAddedExecutionPlan_submitsRecoveredJob() throws Exception {
+        final CompletableFuture<ExecutionPlan> submittedJobFuture = new CompletableFuture<>();
         final TestingDispatcherGateway testingDispatcherGateway =
                 TestingDispatcherGateway.newBuilder()
                         .setSubmitFunction(
@@ -562,21 +571,21 @@ class SessionDispatcherLeaderProcessTest {
             // wait first for the dispatcher service to be created
             dispatcherLeaderProcess.getDispatcherGateway().get();
 
-            jobGraphStore.putJobGraph(JOB_GRAPH);
-            dispatcherLeaderProcess.onAddedJobGraph(JOB_GRAPH.getJobID());
+            executionPlanStore.putExecutionPlan(JOB_GRAPH);
+            dispatcherLeaderProcess.onAddedExecutionPlan(JOB_GRAPH.getJobID());
 
-            final JobGraph submittedJobGraph = submittedJobFuture.get();
+            final ExecutionPlan submittedExecutionPlan = submittedJobFuture.get();
 
-            assertThat(submittedJobGraph.getJobID()).isEqualTo(JOB_GRAPH.getJobID());
+            assertThat(submittedExecutionPlan.getJobID()).isEqualTo(JOB_GRAPH.getJobID());
         }
     }
 
     @Test
-    void onAddedJobGraph_ifNotRunning_isBeingIgnored() throws Exception {
+    void onAddedExecutionPlan_ifNotRunning_isBeingIgnored() throws Exception {
         final CompletableFuture<JobID> recoveredJobFuture = new CompletableFuture<>();
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
-                        .setRecoverJobGraphFunction(
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        .setRecoverExecutionPlanFunction(
                                 (jobId, jobGraphs) -> {
                                     recoveredJobFuture.complete(jobId);
                                     return jobGraphs.get(jobId);
@@ -591,25 +600,25 @@ class SessionDispatcherLeaderProcessTest {
             dispatcherLeaderProcess.getDispatcherGateway().get();
 
             // now add the job graph
-            jobGraphStore.putJobGraph(JOB_GRAPH);
+            executionPlanStore.putExecutionPlan(JOB_GRAPH);
 
             dispatcherLeaderProcess.closeAsync();
 
-            dispatcherLeaderProcess.onAddedJobGraph(JOB_GRAPH.getJobID());
+            dispatcherLeaderProcess.onAddedExecutionPlan(JOB_GRAPH.getJobID());
 
             assertThatThrownBy(
                             () -> recoveredJobFuture.get(10L, TimeUnit.MILLISECONDS),
-                            "onAddedJobGraph should be ignored if the leader process is not running.")
+                            "onAddedExecutionPlan should be ignored if the leader process is not running.")
                     .isInstanceOf(TimeoutException.class);
         }
     }
 
     @Test
-    void onAddedJobGraph_failingRecovery_propagatesTheFailure() throws Exception {
+    void onAddedExecutionPlan_failingRecovery_propagatesTheFailure() throws Exception {
         final FlinkException expectedFailure = new FlinkException("Expected failure");
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
-                        .setRecoverJobGraphFunction(
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        .setRecoverExecutionPlanFunction(
                                 (ignoredA, ignoredB) -> {
                                     throw expectedFailure;
                                 })
@@ -622,8 +631,8 @@ class SessionDispatcherLeaderProcessTest {
             // wait first for the dispatcher service to be created
             dispatcherLeaderProcess.getDispatcherGateway().get();
 
-            jobGraphStore.putJobGraph(JOB_GRAPH);
-            dispatcherLeaderProcess.onAddedJobGraph(JOB_GRAPH.getJobID());
+            executionPlanStore.putExecutionPlan(JOB_GRAPH);
+            dispatcherLeaderProcess.onAddedExecutionPlan(JOB_GRAPH.getJobID());
 
             assertThatFuture(fatalErrorHandler.getErrorFuture())
                     .eventuallySucceeds()
@@ -640,13 +649,13 @@ class SessionDispatcherLeaderProcessTest {
     @Test
     void recoverJobs_withRecoveryFailure_failsFatally() throws Exception {
         final FlinkException testException = new FlinkException("Test exception");
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
-                        .setRecoverJobGraphFunction(
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        .setRecoverExecutionPlanFunction(
                                 (ignoredA, ignoredB) -> {
                                     throw testException;
                                 })
-                        .setInitialJobGraphs(Collections.singleton(JOB_GRAPH))
+                        .setInitialExecutionPlans(Collections.singleton(JOB_GRAPH))
                         .build();
 
         runJobRecoveryFailureTest(testException);
@@ -655,8 +664,8 @@ class SessionDispatcherLeaderProcessTest {
     @Test
     void recoverJobs_withJobIdRecoveryFailure_failsFatally() throws Exception {
         final FlinkException testException = new FlinkException("Test exception");
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
                         .setJobIdsFunction(
                                 ignored -> {
                                     throw testException;
@@ -687,7 +696,7 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void onAddedJobGraph_failingRecoveredJobSubmission_failsFatally() throws Exception {
+    void onAddedExecutionPlan_failingRecoveredJobSubmission_failsFatally() throws Exception {
         final TestingDispatcherGateway dispatcherGateway =
                 TestingDispatcherGateway.newBuilder()
                         .setSubmitFunction(
@@ -697,10 +706,11 @@ class SessionDispatcherLeaderProcessTest {
                                                         jobGraph.getJobID(), "test exception")))
                         .build();
 
-        runOnAddedJobGraphTest(dispatcherGateway, this::verifyOnAddedJobGraphResultFailsFatally);
+        runOnAddedExecutionPlanTest(
+                dispatcherGateway, this::verifyOnAddedExecutionPlanResultFailsFatally);
     }
 
-    private void verifyOnAddedJobGraphResultFailsFatally(
+    private void verifyOnAddedExecutionPlanResultFailsFatally(
             TestingFatalErrorHandler fatalErrorHandler) {
         final Throwable actualCause = fatalErrorHandler.getErrorFuture().join();
 
@@ -712,7 +722,8 @@ class SessionDispatcherLeaderProcessTest {
     }
 
     @Test
-    void onAddedJobGraph_duplicateJobSubmissionDueToFalsePositive_willBeIgnored() throws Exception {
+    void onAddedExecutionPlan_duplicateJobSubmissionDueToFalsePositive_willBeIgnored()
+            throws Exception {
         final TestingDispatcherGateway dispatcherGateway =
                 TestingDispatcherGateway.newBuilder()
                         .setSubmitFunction(
@@ -722,19 +733,20 @@ class SessionDispatcherLeaderProcessTest {
                                                         jobGraph.getJobID())))
                         .build();
 
-        runOnAddedJobGraphTest(dispatcherGateway, this::verifyOnAddedJobGraphResultDidNotFail);
+        runOnAddedExecutionPlanTest(
+                dispatcherGateway, this::verifyOnAddedExecutionPlanResultDidNotFail);
     }
 
-    private void runOnAddedJobGraphTest(
+    private void runOnAddedExecutionPlanTest(
             TestingDispatcherGateway dispatcherGateway,
             ThrowingConsumer<TestingFatalErrorHandler, Exception> verificationLogic)
             throws Exception {
-        jobGraphStore =
-                TestingJobGraphStore.newBuilder()
-                        .setInitialJobGraphs(Collections.singleton(JOB_GRAPH))
+        executionPlanStore =
+                TestingExecutionPlanStore.newBuilder()
+                        .setInitialExecutionPlans(Collections.singleton(JOB_GRAPH))
                         .build();
         dispatcherServiceFactory =
-                createFactoryBasedOnJobGraphs(
+                createFactoryBasedOnExecutionPlans(
                         jobGraphs -> {
                             assertThat(jobGraphs).containsExactlyInAnyOrder(JOB_GRAPH);
 
@@ -749,22 +761,22 @@ class SessionDispatcherLeaderProcessTest {
 
             dispatcherLeaderProcess.getDispatcherGateway().get();
 
-            dispatcherLeaderProcess.onAddedJobGraph(JOB_GRAPH.getJobID());
+            dispatcherLeaderProcess.onAddedExecutionPlan(JOB_GRAPH.getJobID());
 
             verificationLogic.accept(fatalErrorHandler);
         }
     }
 
     private AbstractDispatcherLeaderProcess.DispatcherGatewayServiceFactory
-            createFactoryBasedOnJobGraphs(
+            createFactoryBasedOnExecutionPlans(
                     Function<
-                                    Collection<JobGraph>,
+                                    Collection<ExecutionPlan>,
                                     AbstractDispatcherLeaderProcess.DispatcherGatewayService>
                             createFunction) {
         return (ignoredDispatcherId,
                 recoveredJobs,
                 ignoredRecoveredDirtyJobResults,
-                ignoredJobGraphWriter,
+                ignoredExecutionPlanWriter,
                 ignoredJobResultStore) -> createFunction.apply(recoveredJobs);
     }
 
@@ -774,11 +786,12 @@ class SessionDispatcherLeaderProcessTest {
         return (ignoredDispatcherId,
                 ignoredRecoveredJobs,
                 ignoredRecoveredDirtyJobResults,
-                ignoredJobGraphWriter,
+                ignoredExecutionPlanWriter,
                 ignoredJobResultStore) -> supplier.get();
     }
 
-    private void verifyOnAddedJobGraphResultDidNotFail(TestingFatalErrorHandler fatalErrorHandler) {
+    private void verifyOnAddedExecutionPlanResultDidNotFail(
+            TestingFatalErrorHandler fatalErrorHandler) {
         assertThatThrownBy(
                         () -> fatalErrorHandler.getErrorFuture().get(10L, TimeUnit.MILLISECONDS),
                         "Expected that duplicate job submissions due to false job recoveries are ignored.")
@@ -789,7 +802,7 @@ class SessionDispatcherLeaderProcessTest {
         return SessionDispatcherLeaderProcess.create(
                 leaderSessionId,
                 dispatcherServiceFactory,
-                jobGraphStore,
+                executionPlanStore,
                 jobResultStore,
                 ioExecutor,
                 fatalErrorHandler);
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/TestingDispatcherGatewayService.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/TestingDispatcherGatewayService.java
index 250d3632e6d..acc4d356314 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/TestingDispatcherGatewayService.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/TestingDispatcherGatewayService.java
@@ -30,7 +30,7 @@ import java.util.function.Function;
 class TestingDispatcherGatewayService
         implements AbstractDispatcherLeaderProcess.DispatcherGatewayService {
 
-    private final Function<JobID, CompletableFuture<Void>> onRemovedJobGraphFunction;
+    private final Function<JobID, CompletableFuture<Void>> onRemovedExecutionPlanFunction;
 
     private final DispatcherGateway dispatcherGateway;
 
@@ -41,12 +41,12 @@ class TestingDispatcherGatewayService
 
     private TestingDispatcherGatewayService(
             CompletableFuture<Void> terminationFuture,
-            Function<JobID, CompletableFuture<Void>> onRemovedJobGraphFunction,
+            Function<JobID, CompletableFuture<Void>> onRemovedExecutionPlanFunction,
             DispatcherGateway dispatcherGateway,
             CompletableFuture<ApplicationStatus> shutDownFuture,
             boolean completeTerminationFutureOnClose) {
         this.terminationFuture = terminationFuture;
-        this.onRemovedJobGraphFunction = onRemovedJobGraphFunction;
+        this.onRemovedExecutionPlanFunction = onRemovedExecutionPlanFunction;
         this.dispatcherGateway = dispatcherGateway;
         this.shutDownFuture = shutDownFuture;
         this.completeTerminationFutureOnClose = completeTerminationFutureOnClose;
@@ -58,8 +58,8 @@ class TestingDispatcherGatewayService
     }
 
     @Override
-    public CompletableFuture<Void> onRemovedJobGraph(JobID jobId) {
-        return onRemovedJobGraphFunction.apply(jobId);
+    public CompletableFuture<Void> onRemovedExecutionPlan(JobID jobId) {
+        return onRemovedExecutionPlanFunction.apply(jobId);
     }
 
     @Override
@@ -88,7 +88,7 @@ class TestingDispatcherGatewayService
 
         private CompletableFuture<Void> terminationFuture = new CompletableFuture<>();
 
-        private Function<JobID, CompletableFuture<Void>> onRemovedJobGraphFunction =
+        private Function<JobID, CompletableFuture<Void>> onRemovedExecutionPlanFunction =
                 ignored -> FutureUtils.completedVoidFuture();
 
         private DispatcherGateway dispatcherGateway = TestingDispatcherGateway.newBuilder().build();
@@ -110,8 +110,8 @@ class TestingDispatcherGatewayService
         }
 
         public Builder setOnRemovedJobGraphFunction(
-                Function<JobID, CompletableFuture<Void>> onRemovedJobGraphFunction) {
-            this.onRemovedJobGraphFunction = onRemovedJobGraphFunction;
+                Function<JobID, CompletableFuture<Void>> onRemovedExecutionPlanFunction) {
+            this.onRemovedExecutionPlanFunction = onRemovedExecutionPlanFunction;
             return this;
         }
 
@@ -128,7 +128,7 @@ class TestingDispatcherGatewayService
         public TestingDispatcherGatewayService build() {
             return new TestingDispatcherGatewayService(
                     terminationFuture,
-                    onRemovedJobGraphFunction,
+                    onRemovedExecutionPlanFunction,
                     dispatcherGateway,
                     shutDownFuture,
                     completeTerminationFutureOnClose);
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/ZooKeeperDefaultDispatcherRunnerTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/ZooKeeperDefaultDispatcherRunnerTest.java
index a13d805322e..3294fed82bc 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/ZooKeeperDefaultDispatcherRunnerTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/runner/ZooKeeperDefaultDispatcherRunnerTest.java
@@ -42,7 +42,7 @@ import org.apache.flink.runtime.highavailability.zookeeper.CuratorFrameworkWithU
 import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobGraphTestUtils;
 import org.apache.flink.runtime.jobgraph.JobVertex;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.jobmanager.JobPersistenceComponentFactory;
 import org.apache.flink.runtime.jobmaster.JobResult;
 import org.apache.flink.runtime.leaderelection.LeaderElection;
@@ -192,8 +192,8 @@ class ZooKeeperDefaultDispatcherRunnerTest {
                             dispatcherLeaderElection,
                             new JobPersistenceComponentFactory() {
                                 @Override
-                                public JobGraphStore createJobGraphStore() {
-                                    return createZooKeeperJobGraphStore(
+                                public ExecutionPlanStore createExecutionPlanStore() {
+                                    return createZooKeeperExecutionPlanStore(
                                             curatorFrameworkWrapper.asCuratorFramework());
                                 }
 
@@ -232,11 +232,12 @@ class ZooKeeperDefaultDispatcherRunnerTest {
                 dispatcherLeaderElection.notLeader();
 
                 // check that the job has been removed from ZooKeeper
-                final JobGraphStore submittedJobGraphStore =
-                        createZooKeeperJobGraphStore(curatorFrameworkWrapper.asCuratorFramework());
+                final ExecutionPlanStore submittedExecutionPlanStore =
+                        createZooKeeperExecutionPlanStore(
+                                curatorFrameworkWrapper.asCuratorFramework());
 
                 CommonTestUtils.waitUntilCondition(
-                        () -> submittedJobGraphStore.getJobIds().isEmpty(), 20L);
+                        () -> submittedExecutionPlanStore.getJobIds().isEmpty(), 20L);
             }
         }
 
@@ -260,9 +261,9 @@ class ZooKeeperDefaultDispatcherRunnerTest {
                 partialDispatcherServices);
     }
 
-    private JobGraphStore createZooKeeperJobGraphStore(CuratorFramework client) {
+    private ExecutionPlanStore createZooKeeperExecutionPlanStore(CuratorFramework client) {
         try {
-            return ZooKeeperUtils.createJobGraphs(client, configuration);
+            return ZooKeeperUtils.createExecutionPlans(client, configuration);
         } catch (Exception e) {
             ExceptionUtils.rethrow(e);
             return null;
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/AbstractHaServicesTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/AbstractHaServicesTest.java
index c70860cdb37..42e51c0f8d0 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/AbstractHaServicesTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/AbstractHaServicesTest.java
@@ -23,7 +23,7 @@ import org.apache.flink.configuration.Configuration;
 import org.apache.flink.runtime.blob.BlobKey;
 import org.apache.flink.runtime.blob.BlobStoreService;
 import org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.leaderretrieval.LeaderRetrievalService;
 import org.apache.flink.runtime.testutils.TestingJobResultStore;
 import org.apache.flink.util.FlinkException;
@@ -212,7 +212,7 @@ class AbstractHaServicesTest {
         }
 
         @Override
-        protected JobGraphStore createJobGraphStore() throws Exception {
+        protected ExecutionPlanStore createExecutionPlanStore() throws Exception {
             throw new UnsupportedOperationException("Not supported by this test implementation.");
         }
 
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServices.java b/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServices.java
index d68a46db797..38e9ed1b3b4 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServices.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServices.java
@@ -23,7 +23,7 @@ import org.apache.flink.runtime.blob.BlobStore;
 import org.apache.flink.runtime.blob.VoidBlobStore;
 import org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory;
 import org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedJobResultStore;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
 import org.apache.flink.runtime.leaderelection.LeaderElection;
 import org.apache.flink.runtime.leaderretrieval.LeaderRetrievalService;
 import org.apache.flink.util.concurrent.FutureUtils;
@@ -66,7 +66,7 @@ public class TestingHighAvailabilityServices implements HighAvailabilityServices
 
     private volatile CheckpointRecoveryFactory checkpointRecoveryFactory;
 
-    private volatile JobGraphStore jobGraphStore;
+    private volatile ExecutionPlanStore executionPlanStore;
 
     private volatile JobResultStore jobResultStore = new EmbeddedJobResultStore();
 
@@ -120,8 +120,8 @@ public class TestingHighAvailabilityServices implements HighAvailabilityServices
         this.checkpointRecoveryFactory = checkpointRecoveryFactory;
     }
 
-    public void setJobGraphStore(JobGraphStore jobGraphStore) {
-        this.jobGraphStore = jobGraphStore;
+    public void setExecutionPlanStore(ExecutionPlanStore executionPlanStore) {
+        this.executionPlanStore = executionPlanStore;
     }
 
     public void setJobResultStore(JobResultStore jobResultStore) {
@@ -249,13 +249,13 @@ public class TestingHighAvailabilityServices implements HighAvailabilityServices
     }
 
     @Override
-    public JobGraphStore getJobGraphStore() {
-        JobGraphStore store = jobGraphStore;
+    public ExecutionPlanStore getExecutionPlanStore() {
+        ExecutionPlanStore store = executionPlanStore;
 
         if (store != null) {
             return store;
         } else {
-            throw new IllegalStateException("JobGraphStore has not been set");
+            throw new IllegalStateException("ExecutionPlanStore has not been set");
         }
     }
 
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServicesBuilder.java b/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServicesBuilder.java
index 66fb485d40d..ae8b7b7af22 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServicesBuilder.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/highavailability/TestingHighAvailabilityServicesBuilder.java
@@ -22,8 +22,8 @@ import org.apache.flink.api.common.JobID;
 import org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory;
 import org.apache.flink.runtime.checkpoint.StandaloneCheckpointRecoveryFactory;
 import org.apache.flink.runtime.highavailability.nonha.embedded.EmbeddedJobResultStore;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
-import org.apache.flink.runtime.jobmanager.StandaloneJobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
+import org.apache.flink.runtime.jobmanager.StandaloneExecutionPlanStore;
 import org.apache.flink.runtime.leaderelection.LeaderElection;
 import org.apache.flink.runtime.leaderelection.StandaloneLeaderElection;
 import org.apache.flink.runtime.leaderretrieval.LeaderRetrievalService;
@@ -68,7 +68,7 @@ public class TestingHighAvailabilityServicesBuilder {
     private CheckpointRecoveryFactory checkpointRecoveryFactory =
             new StandaloneCheckpointRecoveryFactory();
 
-    private JobGraphStore jobGraphStore = new StandaloneJobGraphStore();
+    private ExecutionPlanStore executionPlanStore = new StandaloneExecutionPlanStore();
 
     private JobResultStore jobResultStore = new EmbeddedJobResultStore();
 
@@ -98,7 +98,7 @@ public class TestingHighAvailabilityServicesBuilder {
                 webMonitorEndpointLeaderElection);
 
         testingHighAvailabilityServices.setCheckpointRecoveryFactory(checkpointRecoveryFactory);
-        testingHighAvailabilityServices.setJobGraphStore(jobGraphStore);
+        testingHighAvailabilityServices.setExecutionPlanStore(executionPlanStore);
         testingHighAvailabilityServices.setJobResultStore(jobResultStore);
 
         testingHighAvailabilityServices.setCloseFuture(closeFuture);
@@ -161,8 +161,9 @@ public class TestingHighAvailabilityServicesBuilder {
         return this;
     }
 
-    public TestingHighAvailabilityServicesBuilder setJobGraphStore(JobGraphStore jobGraphStore) {
-        this.jobGraphStore = jobGraphStore;
+    public TestingHighAvailabilityServicesBuilder setExecutionPlanStore(
+            ExecutionPlanStore executionPlanStore) {
+        this.executionPlanStore = executionPlanStore;
         return this;
     }
 
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobgraph/JobResourceRequirementsTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobgraph/JobResourceRequirementsTest.java
index db39062420f..50cdae969c9 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobgraph/JobResourceRequirementsTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobgraph/JobResourceRequirementsTest.java
@@ -153,7 +153,7 @@ class JobResourceRequirementsTest {
     }
 
     @Test
-    void testWriteToJobGraphAndReadFromJobGraph() throws IOException {
+    void testWriteToJobGraphAndReadFromExecutionPlan() throws IOException {
         final JobGraph jobGraph = JobGraphTestUtils.emptyJobGraph();
         final JobResourceRequirements jobResourceRequirements =
                 JobResourceRequirements.newBuilder()
@@ -161,15 +161,15 @@ class JobResourceRequirementsTest {
                         .setParallelismForJobVertex(secondVertexId, 10, 10)
                         .build();
 
-        JobResourceRequirements.writeToJobGraph(jobGraph, jobResourceRequirements);
-        assertThat(JobResourceRequirements.readFromJobGraph(jobGraph))
+        JobResourceRequirements.writeToExecutionPlan(jobGraph, jobResourceRequirements);
+        assertThat(JobResourceRequirements.readFromExecutionPlan(jobGraph))
                 .get()
                 .isEqualTo(jobResourceRequirements);
     }
 
     @Test
     void testReadNonExistentResourceRequirementsFromJobGraph() throws IOException {
-        assertThat(JobResourceRequirements.readFromJobGraph(JobGraphTestUtils.emptyJobGraph()))
+        assertThat(JobResourceRequirements.readFromExecutionPlan(JobGraphTestUtils.emptyJobGraph()))
                 .isEmpty();
     }
 }
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/DefaultJobGraphStoreTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/DefaultExecutionPlanStoreTest.java
similarity index 50%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/DefaultJobGraphStoreTest.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/DefaultExecutionPlanStoreTest.java
index d4b5158e2b3..a3c25539b8d 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/DefaultJobGraphStoreTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/DefaultExecutionPlanStoreTest.java
@@ -30,6 +30,7 @@ import org.apache.flink.runtime.persistence.IntegerResourceVersion;
 import org.apache.flink.runtime.persistence.StateHandleStore;
 import org.apache.flink.runtime.persistence.TestingStateHandleStore;
 import org.apache.flink.runtime.state.RetrievableStateHandle;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.AbstractID;
 import org.apache.flink.util.FlinkException;
 import org.apache.flink.util.TestLogger;
@@ -63,52 +64,53 @@ import static org.junit.Assert.assertThrows;
 import static org.junit.Assert.fail;
 
 /**
- * Tests for {@link DefaultJobGraphStore} with {@link TestingJobGraphStoreWatcher}, {@link
- * TestingStateHandleStore}, and {@link TestingJobGraphListener}.
+ * Tests for {@link DefaultExecutionPlanStore} with {@link TestingExecutionPlanStoreWatcher}, {@link
+ * TestingStateHandleStore}, and {@link TestingExecutionPlanListener}.
  */
-public class DefaultJobGraphStoreTest extends TestLogger {
+public class DefaultExecutionPlanStoreTest extends TestLogger {
 
-    private final JobGraph testingJobGraph = JobGraphTestUtils.emptyJobGraph();
+    private final ExecutionPlan testingExecutionPlan = JobGraphTestUtils.emptyJobGraph();
     private final long timeout = 100L;
 
-    private TestingStateHandleStore.Builder<JobGraph> builder;
-    private TestingRetrievableStateStorageHelper<JobGraph> jobGraphStorageHelper;
-    private TestingJobGraphStoreWatcher testingJobGraphStoreWatcher;
-    private TestingJobGraphListener testingJobGraphListener;
+    private TestingStateHandleStore.Builder<ExecutionPlan> builder;
+    private TestingRetrievableStateStorageHelper<ExecutionPlan> jobGraphStorageHelper;
+    private TestingExecutionPlanStoreWatcher testingExecutionPlanStoreWatcher;
+    private TestingExecutionPlanListener testingExecutionPlanListener;
 
     @Before
     public void setup() {
         builder = TestingStateHandleStore.newBuilder();
-        testingJobGraphStoreWatcher = new TestingJobGraphStoreWatcher();
-        testingJobGraphListener = new TestingJobGraphListener();
+        testingExecutionPlanStoreWatcher = new TestingExecutionPlanStoreWatcher();
+        testingExecutionPlanListener = new TestingExecutionPlanListener();
         jobGraphStorageHelper = new TestingRetrievableStateStorageHelper<>();
     }
 
     @After
     public void teardown() {
-        if (testingJobGraphStoreWatcher != null) {
-            testingJobGraphStoreWatcher.stop();
+        if (testingExecutionPlanStoreWatcher != null) {
+            testingExecutionPlanStoreWatcher.stop();
         }
     }
 
     @Test
-    public void testRecoverJobGraph() throws Exception {
-        final RetrievableStateHandle<JobGraph> stateHandle =
-                jobGraphStorageHelper.store(testingJobGraph);
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testRecoverExecutionPlan() throws Exception {
+        final RetrievableStateHandle<ExecutionPlan> stateHandle =
+                jobGraphStorageHelper.store(testingExecutionPlan);
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setGetFunction(ignore -> stateHandle).build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
 
-        final JobGraph recoveredJobGraph =
-                jobGraphStore.recoverJobGraph(testingJobGraph.getJobID());
-        assertThat(recoveredJobGraph, is(notNullValue()));
-        assertThat(recoveredJobGraph.getJobID(), is(testingJobGraph.getJobID()));
+        final ExecutionPlan recoveredExecutionPlan =
+                executionPlanStore.recoverExecutionPlan(testingExecutionPlan.getJobID());
+        assertThat(recoveredExecutionPlan, is(notNullValue()));
+        assertThat(recoveredExecutionPlan.getJobID(), is(testingExecutionPlan.getJobID()));
     }
 
     @Test
-    public void testRecoverJobGraphWhenNotExist() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testRecoverExecutionPlanWhenNotExist() throws Exception {
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setGetFunction(
                                 ignore -> {
                                     throw new StateHandleStore.NotExistException(
@@ -116,18 +118,19 @@ public class DefaultJobGraphStoreTest extends TestLogger {
                                 })
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
 
-        final JobGraph recoveredJobGraph =
-                jobGraphStore.recoverJobGraph(testingJobGraph.getJobID());
-        assertThat(recoveredJobGraph, is(nullValue()));
+        final ExecutionPlan recoveredExecutionPlan =
+                executionPlanStore.recoverExecutionPlan(testingExecutionPlan.getJobID());
+        assertThat(recoveredExecutionPlan, is(nullValue()));
     }
 
     @Test
-    public void testRecoverJobGraphFailedShouldReleaseHandle() throws Exception {
+    public void testRecoverExecutionPlanFailedShouldReleaseHandle() throws Exception {
         final CompletableFuture<String> releaseFuture = new CompletableFuture<>();
         final FlinkException testException = new FlinkException("Test exception.");
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setGetFunction(
                                 ignore -> {
                                     throw testException;
@@ -135,23 +138,24 @@ public class DefaultJobGraphStoreTest extends TestLogger {
                         .setReleaseConsumer(releaseFuture::complete)
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
 
         try {
-            jobGraphStore.recoverJobGraph(testingJobGraph.getJobID());
+            executionPlanStore.recoverExecutionPlan(testingExecutionPlan.getJobID());
             fail(
-                    "recoverJobGraph should fail when there is exception in getting the state handle.");
+                    "recoverExecutionPlan should fail when there is exception in getting the state handle.");
         } catch (Exception ex) {
             assertThat(ex, FlinkMatchers.containsCause(testException));
             String actual = releaseFuture.get(timeout, TimeUnit.MILLISECONDS);
-            assertThat(actual, is(testingJobGraph.getJobID().toString()));
+            assertThat(actual, is(testingExecutionPlan.getJobID().toString()));
         }
     }
 
     @Test
-    public void testPutJobGraphWhenNotExist() throws Exception {
-        final CompletableFuture<JobGraph> addFuture = new CompletableFuture<>();
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testPutExecutionPlanWhenNotExist() throws Exception {
+        final CompletableFuture<ExecutionPlan> addFuture = new CompletableFuture<>();
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setExistsFunction(ignore -> IntegerResourceVersion.notExisting())
                         .setAddFunction(
                                 (ignore, state) -> {
@@ -160,20 +164,21 @@ public class DefaultJobGraphStoreTest extends TestLogger {
                                 })
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.putJobGraph(testingJobGraph);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
 
-        final JobGraph actual = addFuture.get(timeout, TimeUnit.MILLISECONDS);
-        assertThat(actual.getJobID(), is(testingJobGraph.getJobID()));
+        final ExecutionPlan actual = addFuture.get(timeout, TimeUnit.MILLISECONDS);
+        assertThat(actual.getJobID(), is(testingExecutionPlan.getJobID()));
     }
 
     @Test
-    public void testPutJobGraphWhenAlreadyExist() throws Exception {
-        final CompletableFuture<Tuple3<String, IntegerResourceVersion, JobGraph>> replaceFuture =
-                new CompletableFuture<>();
+    public void testPutExecutionPlanWhenAlreadyExist() throws Exception {
+        final CompletableFuture<Tuple3<String, IntegerResourceVersion, ExecutionPlan>>
+                replaceFuture = new CompletableFuture<>();
         final int resourceVersion = 100;
         final AtomicBoolean alreadyExist = new AtomicBoolean(false);
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setExistsFunction(
                                 ignore -> {
                                     if (alreadyExist.get()) {
@@ -187,46 +192,49 @@ public class DefaultJobGraphStoreTest extends TestLogger {
                         .setReplaceConsumer(replaceFuture::complete)
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.putJobGraph(testingJobGraph);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
         // Replace
-        jobGraphStore.putJobGraph(testingJobGraph);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
 
-        final Tuple3<String, IntegerResourceVersion, JobGraph> actual =
+        final Tuple3<String, IntegerResourceVersion, ExecutionPlan> actual =
                 replaceFuture.get(timeout, TimeUnit.MILLISECONDS);
-        assertThat(actual.f0, is(testingJobGraph.getJobID().toString()));
+        assertThat(actual.f0, is(testingExecutionPlan.getJobID().toString()));
         assertThat(actual.f1, is(IntegerResourceVersion.valueOf(resourceVersion)));
-        assertThat(actual.f2.getJobID(), is(testingJobGraph.getJobID()));
+        assertThat(actual.f2.getJobID(), is(testingExecutionPlan.getJobID()));
     }
 
     @Test
     public void testGlobalCleanup() throws Exception {
         final CompletableFuture<JobID> removeFuture = new CompletableFuture<>();
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setAddFunction((ignore, state) -> jobGraphStorageHelper.store(state))
                         .setRemoveFunction(name -> removeFuture.complete(JobID.fromHexString(name)))
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
 
-        jobGraphStore.putJobGraph(testingJobGraph);
-        jobGraphStore
-                .globalCleanupAsync(testingJobGraph.getJobID(), Executors.directExecutor())
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
+        executionPlanStore
+                .globalCleanupAsync(testingExecutionPlan.getJobID(), Executors.directExecutor())
                 .join();
         final JobID actual = removeFuture.get(timeout, TimeUnit.MILLISECONDS);
-        assertThat(actual, is(testingJobGraph.getJobID()));
+        assertThat(actual, is(testingExecutionPlan.getJobID()));
     }
 
     @Test
     public void testGlobalCleanupWithNonExistName() throws Exception {
         final CompletableFuture<JobID> removeFuture = new CompletableFuture<>();
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setRemoveFunction(name -> removeFuture.complete(JobID.fromHexString(name)))
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore
-                .globalCleanupAsync(testingJobGraph.getJobID(), Executors.directExecutor())
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore
+                .globalCleanupAsync(testingExecutionPlan.getJobID(), Executors.directExecutor())
                 .join();
 
         assertThat(removeFuture.isDone(), is(true));
@@ -234,23 +242,24 @@ public class DefaultJobGraphStoreTest extends TestLogger {
 
     @Test
     public void testGlobalCleanupFailsIfRemovalReturnsFalse() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setRemoveFunction(name -> false).build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
         assertThrows(
                 ExecutionException.class,
                 () ->
-                        jobGraphStore
+                        executionPlanStore
                                 .globalCleanupAsync(
-                                        testingJobGraph.getJobID(), Executors.directExecutor())
+                                        testingExecutionPlan.getJobID(), Executors.directExecutor())
                                 .get());
     }
 
     @Test
     public void testGetJobIds() throws Exception {
         final List<JobID> existingJobIds = Arrays.asList(new JobID(0, 0), new JobID(0, 1));
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setGetAllHandlesSupplier(
                                 () ->
                                         existingJobIds.stream()
@@ -258,105 +267,112 @@ public class DefaultJobGraphStoreTest extends TestLogger {
                                                 .collect(Collectors.toList()))
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        final Collection<JobID> jobIds = jobGraphStore.getJobIds();
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        final Collection<JobID> jobIds = executionPlanStore.getJobIds();
         assertThat(jobIds, contains(existingJobIds.toArray()));
     }
 
     @Test
-    public void testOnAddedJobGraphShouldNotProcessKnownJobGraphs() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testOnAddedExecutionPlanShouldNotProcessKnownExecutionPlans() throws Exception {
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setAddFunction((ignore, state) -> jobGraphStorageHelper.store(state))
                         .build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.putJobGraph(testingJobGraph);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
 
-        testingJobGraphStoreWatcher.addJobGraph(testingJobGraph.getJobID());
-        assertThat(testingJobGraphListener.getAddedJobGraphs().size(), is(0));
+        testingExecutionPlanStoreWatcher.addExecutionPlan(testingExecutionPlan.getJobID());
+        assertThat(testingExecutionPlanListener.getAddedExecutionPlans().size(), is(0));
     }
 
     @Test
-    public void testOnAddedJobGraphShouldOnlyProcessUnknownJobGraphs() throws Exception {
-        final RetrievableStateHandle<JobGraph> stateHandle =
-                jobGraphStorageHelper.store(testingJobGraph);
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testOnAddedExecutionPlanShouldOnlyProcessUnknownExecutionPlans() throws Exception {
+        final RetrievableStateHandle<ExecutionPlan> stateHandle =
+                jobGraphStorageHelper.store(testingExecutionPlan);
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setGetFunction(ignore -> stateHandle)
                         .setAddFunction((ignore, state) -> jobGraphStorageHelper.store(state))
                         .build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.recoverJobGraph(testingJobGraph.getJobID());
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.recoverExecutionPlan(testingExecutionPlan.getJobID());
 
         // Known recovered job
-        testingJobGraphStoreWatcher.addJobGraph(testingJobGraph.getJobID());
+        testingExecutionPlanStoreWatcher.addExecutionPlan(testingExecutionPlan.getJobID());
         // Unknown job
         final JobID unknownJobId = JobID.generate();
-        testingJobGraphStoreWatcher.addJobGraph(unknownJobId);
-        assertThat(testingJobGraphListener.getAddedJobGraphs().size(), is(1));
-        assertThat(testingJobGraphListener.getAddedJobGraphs(), contains(unknownJobId));
+        testingExecutionPlanStoreWatcher.addExecutionPlan(unknownJobId);
+        assertThat(testingExecutionPlanListener.getAddedExecutionPlans().size(), is(1));
+        assertThat(testingExecutionPlanListener.getAddedExecutionPlans(), contains(unknownJobId));
     }
 
     @Test
-    public void testOnRemovedJobGraphShouldOnlyProcessKnownJobGraphs() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testOnRemovedExecutionPlanShouldOnlyProcessKnownExecutionPlans() throws Exception {
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setAddFunction((ignore, state) -> jobGraphStorageHelper.store(state))
                         .build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.putJobGraph(testingJobGraph);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
 
         // Unknown job
-        testingJobGraphStoreWatcher.removeJobGraph(JobID.generate());
+        testingExecutionPlanStoreWatcher.removeExecutionPlan(JobID.generate());
         // Known job
-        testingJobGraphStoreWatcher.removeJobGraph(testingJobGraph.getJobID());
-        assertThat(testingJobGraphListener.getRemovedJobGraphs().size(), is(1));
+        testingExecutionPlanStoreWatcher.removeExecutionPlan(testingExecutionPlan.getJobID());
+        assertThat(testingExecutionPlanListener.getRemovedExecutionPlans().size(), is(1));
         assertThat(
-                testingJobGraphListener.getRemovedJobGraphs(),
-                contains(testingJobGraph.getJobID()));
+                testingExecutionPlanListener.getRemovedExecutionPlans(),
+                contains(testingExecutionPlan.getJobID()));
     }
 
     @Test
-    public void testOnRemovedJobGraphShouldNotProcessUnknownJobGraphs() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testOnRemovedExecutionPlanShouldNotProcessUnknownExecutionPlans() throws Exception {
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setAddFunction((ignore, state) -> jobGraphStorageHelper.store(state))
                         .build();
-        createAndStartJobGraphStore(stateHandleStore);
+        createAndStartExecutionPlanStore(stateHandleStore);
 
-        testingJobGraphStoreWatcher.removeJobGraph(testingJobGraph.getJobID());
-        assertThat(testingJobGraphListener.getRemovedJobGraphs().size(), is(0));
+        testingExecutionPlanStoreWatcher.removeExecutionPlan(testingExecutionPlan.getJobID());
+        assertThat(testingExecutionPlanListener.getRemovedExecutionPlans().size(), is(0));
     }
 
     @Test
-    public void testOnAddedJobGraphIsIgnoredAfterBeingStop() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testOnAddedExecutionPlanIsIgnoredAfterBeingStop() throws Exception {
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setAddFunction((ignore, state) -> jobGraphStorageHelper.store(state))
                         .build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.stop();
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.stop();
 
-        testingJobGraphStoreWatcher.addJobGraph(testingJobGraph.getJobID());
-        assertThat(testingJobGraphListener.getAddedJobGraphs().size(), is(0));
+        testingExecutionPlanStoreWatcher.addExecutionPlan(testingExecutionPlan.getJobID());
+        assertThat(testingExecutionPlanListener.getAddedExecutionPlans().size(), is(0));
     }
 
     @Test
-    public void testOnRemovedJobGraphIsIgnoredAfterBeingStop() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+    public void testOnRemovedExecutionPlanIsIgnoredAfterBeingStop() throws Exception {
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setAddFunction((ignore, state) -> jobGraphStorageHelper.store(state))
                         .build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.putJobGraph(testingJobGraph);
-        jobGraphStore.stop();
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
+        executionPlanStore.stop();
 
-        testingJobGraphStoreWatcher.removeJobGraph(testingJobGraph.getJobID());
-        assertThat(testingJobGraphListener.getRemovedJobGraphs().size(), is(0));
+        testingExecutionPlanStoreWatcher.removeExecutionPlan(testingExecutionPlan.getJobID());
+        assertThat(testingExecutionPlanListener.getRemovedExecutionPlans().size(), is(0));
     }
 
     @Test
-    public void testStoppingJobGraphStoreShouldReleaseAllHandles() throws Exception {
+    public void testStoppingExecutionPlanStoreShouldReleaseAllHandles() throws Exception {
         final CompletableFuture<Void> completableFuture = new CompletableFuture<>();
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setReleaseAllHandlesRunnable(() -> completableFuture.complete(null))
                         .build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.stop();
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.stop();
 
         assertThat(completableFuture.isDone(), is(true));
     }
@@ -364,32 +380,33 @@ public class DefaultJobGraphStoreTest extends TestLogger {
     @Test
     public void testLocalCleanupShouldReleaseHandle() throws Exception {
         final CompletableFuture<String> releaseFuture = new CompletableFuture<>();
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setReleaseConsumer(releaseFuture::complete).build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.putJobGraph(testingJobGraph);
-        jobGraphStore
-                .localCleanupAsync(testingJobGraph.getJobID(), Executors.directExecutor())
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
+        executionPlanStore
+                .localCleanupAsync(testingExecutionPlan.getJobID(), Executors.directExecutor())
                 .join();
 
         final String actual = releaseFuture.get();
-        assertThat(actual, is(testingJobGraph.getJobID().toString()));
+        assertThat(actual, is(testingExecutionPlan.getJobID().toString()));
     }
 
     @Test
     public void testRecoverPersistedJobResourceRequirements() throws Exception {
-        final Map<String, RetrievableStateHandle<JobGraph>> handles = new HashMap<>();
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final Map<String, RetrievableStateHandle<ExecutionPlan>> handles = new HashMap<>();
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setAddFunction(
                                 (key, state) -> {
-                                    final RetrievableStateHandle<JobGraph> handle =
+                                    final RetrievableStateHandle<ExecutionPlan> handle =
                                             jobGraphStorageHelper.store(state);
                                     handles.put(key, handle);
                                     return handle;
                                 })
                         .setGetFunction(
                                 key -> {
-                                    final RetrievableStateHandle<JobGraph> handle =
+                                    final RetrievableStateHandle<ExecutionPlan> handle =
                                             handles.get(key);
                                     if (handle != null) {
                                         return handle;
@@ -403,58 +420,63 @@ public class DefaultJobGraphStoreTest extends TestLogger {
                         .setParallelismForJobVertex(new JobVertexID(), 1, 1)
                         .build();
 
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
-        jobGraphStore.putJobGraph(testingJobGraph);
-        jobGraphStore.putJobResourceRequirements(
-                testingJobGraph.getJobID(), jobResourceRequirements);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
+        executionPlanStore.putExecutionPlan(testingExecutionPlan);
+        executionPlanStore.putJobResourceRequirements(
+                testingExecutionPlan.getJobID(), jobResourceRequirements);
 
         assertStoredRequirementsAre(
-                jobGraphStore, testingJobGraph.getJobID(), jobResourceRequirements);
+                executionPlanStore, testingExecutionPlan.getJobID(), jobResourceRequirements);
 
         final JobResourceRequirements updatedJobResourceRequirements =
                 JobResourceRequirements.newBuilder()
                         .setParallelismForJobVertex(new JobVertexID(), 1, 1)
                         .build();
 
-        jobGraphStore.putJobResourceRequirements(
-                testingJobGraph.getJobID(), updatedJobResourceRequirements);
+        executionPlanStore.putJobResourceRequirements(
+                testingExecutionPlan.getJobID(), updatedJobResourceRequirements);
 
         assertStoredRequirementsAre(
-                jobGraphStore, testingJobGraph.getJobID(), updatedJobResourceRequirements);
+                executionPlanStore,
+                testingExecutionPlan.getJobID(),
+                updatedJobResourceRequirements);
     }
 
     private static void assertStoredRequirementsAre(
-            JobGraphStore jobGraphStore, JobID jobId, JobResourceRequirements expected)
+            ExecutionPlanStore executionPlanStore, JobID jobId, JobResourceRequirements expected)
             throws Exception {
         final Optional<JobResourceRequirements> maybeRecovered =
-                JobResourceRequirements.readFromJobGraph(
-                        Objects.requireNonNull(jobGraphStore.recoverJobGraph(jobId)));
+                JobResourceRequirements.readFromExecutionPlan(
+                        Objects.requireNonNull(
+                                (JobGraph) executionPlanStore.recoverExecutionPlan(jobId)));
         Assertions.assertThat(maybeRecovered).get().isEqualTo(expected);
     }
 
     @Test
     public void testPutJobResourceRequirementsOfNonExistentJob() throws Exception {
-        final TestingStateHandleStore<JobGraph> stateHandleStore =
+        final TestingStateHandleStore<ExecutionPlan> stateHandleStore =
                 builder.setGetFunction(
                                 ignore -> {
                                     throw new StateHandleStore.NotExistException("Does not exist.");
                                 })
                         .build();
-        final JobGraphStore jobGraphStore = createAndStartJobGraphStore(stateHandleStore);
+        final ExecutionPlanStore executionPlanStore =
+                createAndStartExecutionPlanStore(stateHandleStore);
         assertThrows(
                 NoSuchElementException.class,
                 () ->
-                        jobGraphStore.putJobResourceRequirements(
+                        executionPlanStore.putJobResourceRequirements(
                                 new JobID(), JobResourceRequirements.empty()));
     }
 
-    private JobGraphStore createAndStartJobGraphStore(
-            TestingStateHandleStore<JobGraph> stateHandleStore) throws Exception {
-        final JobGraphStore jobGraphStore =
-                new DefaultJobGraphStore<>(
+    private ExecutionPlanStore createAndStartExecutionPlanStore(
+            TestingStateHandleStore<ExecutionPlan> stateHandleStore) throws Exception {
+        final ExecutionPlanStore executionPlanStore =
+                new DefaultExecutionPlanStore<>(
                         stateHandleStore,
-                        testingJobGraphStoreWatcher,
-                        new JobGraphStoreUtil() {
+                        testingExecutionPlanStoreWatcher,
+                        new ExecutionPlanStoreUtil() {
                             @Override
                             public String jobIDToName(JobID jobId) {
                                 return jobId.toString();
@@ -465,7 +487,7 @@ public class DefaultJobGraphStoreTest extends TestLogger {
                                 return JobID.fromHexString(name);
                             }
                         });
-        jobGraphStore.start(testingJobGraphListener);
-        return jobGraphStore;
+        executionPlanStore.start(testingExecutionPlanListener);
+        return executionPlanStore;
     }
 }
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/StandaloneJobGraphStoreTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/StandaloneExecutionPlanStoreTest.java
similarity index 63%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/StandaloneJobGraphStoreTest.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/StandaloneExecutionPlanStoreTest.java
index 0fdab01b635..9f110133e7c 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/StandaloneJobGraphStoreTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/StandaloneExecutionPlanStoreTest.java
@@ -19,8 +19,8 @@
 package org.apache.flink.runtime.jobmanager;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobGraphTestUtils;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.concurrent.Executors;
 
 import org.junit.Test;
@@ -28,23 +28,25 @@ import org.junit.Test;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNull;
 
-public class StandaloneJobGraphStoreTest {
+public class StandaloneExecutionPlanStoreTest {
 
     /** Tests that all operations work and don't change the state. */
     @Test
     public void testNoOps() throws Exception {
-        StandaloneJobGraphStore jobGraphs = new StandaloneJobGraphStore();
+        StandaloneExecutionPlanStore executionPlans = new StandaloneExecutionPlanStore();
 
-        JobGraph jobGraph = JobGraphTestUtils.emptyJobGraph();
+        ExecutionPlan executionPlan = JobGraphTestUtils.emptyJobGraph();
 
-        assertEquals(0, jobGraphs.getJobIds().size());
+        assertEquals(0, executionPlans.getJobIds().size());
 
-        jobGraphs.putJobGraph(jobGraph);
-        assertEquals(0, jobGraphs.getJobIds().size());
+        executionPlans.putExecutionPlan(executionPlan);
+        assertEquals(0, executionPlans.getJobIds().size());
 
-        jobGraphs.globalCleanupAsync(jobGraph.getJobID(), Executors.directExecutor()).join();
-        assertEquals(0, jobGraphs.getJobIds().size());
+        executionPlans
+                .globalCleanupAsync(executionPlan.getJobID(), Executors.directExecutor())
+                .join();
+        assertEquals(0, executionPlans.getJobIds().size());
 
-        assertNull(jobGraphs.recoverJobGraph(new JobID()));
+        assertNull(executionPlans.recoverExecutionPlan(new JobID()));
     }
 }
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobGraphListener.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingExecutionPlanListener.java
similarity index 59%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobGraphListener.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingExecutionPlanListener.java
index 215d57dca24..98644aff17c 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobGraphListener.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingExecutionPlanListener.java
@@ -23,28 +23,28 @@ import org.apache.flink.api.common.JobID;
 import java.util.ArrayList;
 import java.util.List;
 
-/** {@link JobGraphStore.JobGraphListener} implementation for testing purposes. */
-public class TestingJobGraphListener implements JobGraphStore.JobGraphListener {
+/** {@link ExecutionPlanStore.ExecutionPlanListener} implementation for testing purposes. */
+public class TestingExecutionPlanListener implements ExecutionPlanStore.ExecutionPlanListener {
 
-    private final List<JobID> addedJobGraphs = new ArrayList<>();
+    private final List<JobID> addedExecutionPlans = new ArrayList<>();
 
-    private final List<JobID> removedJobGraphs = new ArrayList<>();
+    private final List<JobID> removedExecutionPlans = new ArrayList<>();
 
     @Override
-    public void onAddedJobGraph(JobID jobId) {
-        addedJobGraphs.add(jobId);
+    public void onAddedExecutionPlan(JobID jobId) {
+        addedExecutionPlans.add(jobId);
     }
 
     @Override
-    public void onRemovedJobGraph(JobID jobId) {
-        removedJobGraphs.add(jobId);
+    public void onRemovedExecutionPlan(JobID jobId) {
+        removedExecutionPlans.add(jobId);
     }
 
-    public List<JobID> getAddedJobGraphs() {
-        return addedJobGraphs;
+    public List<JobID> getAddedExecutionPlans() {
+        return addedExecutionPlans;
     }
 
-    public List<JobID> getRemovedJobGraphs() {
-        return removedJobGraphs;
+    public List<JobID> getRemovedExecutionPlans() {
+        return removedExecutionPlans;
     }
 }
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobGraphStoreWatcher.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingExecutionPlanStoreWatcher.java
similarity index 57%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobGraphStoreWatcher.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingExecutionPlanStoreWatcher.java
index 429c387297a..2f79efe279d 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobGraphStoreWatcher.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingExecutionPlanStoreWatcher.java
@@ -22,14 +22,14 @@ import org.apache.flink.api.common.JobID;
 
 import static org.apache.flink.util.Preconditions.checkNotNull;
 
-/** {@link JobGraphStoreWatcher} implementation for testing purposes. */
-public class TestingJobGraphStoreWatcher implements JobGraphStoreWatcher {
+/** {@link ExecutionPlanStoreWatcher} implementation for testing purposes. */
+public class TestingExecutionPlanStoreWatcher implements ExecutionPlanStoreWatcher {
 
-    private JobGraphStore.JobGraphListener jobGraphListener;
+    private ExecutionPlanStore.ExecutionPlanListener executionPlanListener;
 
     @Override
-    public void start(JobGraphStore.JobGraphListener jobGraphListener) {
-        this.jobGraphListener = jobGraphListener;
+    public void start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener) {
+        this.executionPlanListener = executionPlanListener;
     }
 
     @Override
@@ -37,13 +37,13 @@ public class TestingJobGraphStoreWatcher implements JobGraphStoreWatcher {
         // noop
     }
 
-    public void addJobGraph(JobID jobID) {
-        checkNotNull(jobGraphListener, "TestingJobGraphStoreWatcher is not started.");
-        jobGraphListener.onAddedJobGraph(jobID);
+    public void addExecutionPlan(JobID jobID) {
+        checkNotNull(executionPlanListener, "TestingExecutionPlanStoreWatcher is not started.");
+        executionPlanListener.onAddedExecutionPlan(jobID);
     }
 
-    public void removeJobGraph(JobID jobID) {
-        checkNotNull(jobGraphListener, "TestingJobGraphStoreWatcher is not started.");
-        jobGraphListener.onRemovedJobGraph(jobID);
+    public void removeExecutionPlan(JobID jobID) {
+        checkNotNull(executionPlanListener, "TestingExecutionPlanStoreWatcher is not started.");
+        executionPlanListener.onRemovedExecutionPlan(jobID);
     }
 }
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobPersistenceComponentFactory.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobPersistenceComponentFactory.java
index 39fa27bac14..8a8435a1094 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobPersistenceComponentFactory.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/TestingJobPersistenceComponentFactory.java
@@ -23,22 +23,22 @@ import org.apache.flink.util.Preconditions;
 
 /**
  * {@code TestingJobPersistenceComponentFactory} implements {@link JobPersistenceComponentFactory}
- * for a given {@link JobGraphStore} and {@link JobResultStore}.
+ * for a given {@link ExecutionPlanStore} and {@link JobResultStore}.
  */
 public class TestingJobPersistenceComponentFactory implements JobPersistenceComponentFactory {
 
-    private final JobGraphStore jobGraphStore;
+    private final ExecutionPlanStore executionPlanStore;
     private final JobResultStore jobResultStore;
 
     public TestingJobPersistenceComponentFactory(
-            JobGraphStore jobGraphStore, JobResultStore jobResultStore) {
-        this.jobGraphStore = Preconditions.checkNotNull(jobGraphStore);
+            ExecutionPlanStore executionPlanStore, JobResultStore jobResultStore) {
+        this.executionPlanStore = Preconditions.checkNotNull(executionPlanStore);
         this.jobResultStore = Preconditions.checkNotNull(jobResultStore);
     }
 
     @Override
-    public JobGraphStore createJobGraphStore() {
-        return jobGraphStore;
+    public ExecutionPlanStore createExecutionPlanStore() {
+        return executionPlanStore;
     }
 
     @Override
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreWatcherTest.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreWatcherTest.java
similarity index 76%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreWatcherTest.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreWatcherTest.java
index e1596775880..0a01be30cee 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphStoreWatcherTest.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlanStoreWatcherTest.java
@@ -45,8 +45,8 @@ import java.nio.file.Path;
 
 import static org.assertj.core.api.Assertions.assertThat;
 
-/** Tests for the {@link ZooKeeperJobGraphStoreWatcher}. */
-class ZooKeeperJobGraphStoreWatcherTest {
+/** Tests for the {@link ZooKeeperExecutionPlanStoreWatcher}. */
+class ZooKeeperExecutionPlanStoreWatcherTest {
 
     @RegisterExtension
     public EachCallbackWrapper<ZooKeeperExtension> zooKeeperExtensionWrapper =
@@ -56,7 +56,7 @@ class ZooKeeperJobGraphStoreWatcherTest {
 
     private Configuration configuration;
 
-    private TestingJobGraphListener testingJobGraphListener;
+    private TestingExecutionPlanListener testingExecutionPlanListener;
 
     @BeforeEach
     void setup() throws Exception {
@@ -67,7 +67,7 @@ class ZooKeeperJobGraphStoreWatcherTest {
         configuration.set(
                 HighAvailabilityOptions.HA_STORAGE_PATH,
                 TempDirUtils.newFolder(temporaryFolder).getAbsolutePath());
-        testingJobGraphListener = new TestingJobGraphListener();
+        testingExecutionPlanListener = new TestingExecutionPlanListener();
     }
 
     @Test
@@ -76,8 +76,8 @@ class ZooKeeperJobGraphStoreWatcherTest {
                 ZooKeeperUtils.startCuratorFramework(
                         configuration, NoOpFatalErrorHandler.INSTANCE)) {
             final CuratorFramework client = curatorFrameworkWrapper.asCuratorFramework();
-            final JobGraphStoreWatcher jobGraphStoreWatcher =
-                    createAndStartJobGraphStoreWatcher(client);
+            final ExecutionPlanStoreWatcher executionPlanStoreWatcher =
+                    createAndStartExecutionPlanStoreWatcher(client);
 
             final ZooKeeperStateHandleStore<JobGraph> stateHandleStore =
                     createStateHandleStore(client);
@@ -87,26 +87,28 @@ class ZooKeeperJobGraphStoreWatcherTest {
             stateHandleStore.addAndLock("/" + jobID, jobGraph);
 
             CommonTestUtils.waitUntilCondition(
-                    () -> testingJobGraphListener.getAddedJobGraphs().size() > 0);
+                    () -> testingExecutionPlanListener.getAddedExecutionPlans().size() > 0);
 
-            assertThat(testingJobGraphListener.getAddedJobGraphs()).containsExactly(jobID);
+            assertThat(testingExecutionPlanListener.getAddedExecutionPlans())
+                    .containsExactly(jobID);
 
             stateHandleStore.releaseAndTryRemove("/" + jobID);
 
             CommonTestUtils.waitUntilCondition(
-                    () -> testingJobGraphListener.getRemovedJobGraphs().size() > 0);
-            assertThat(testingJobGraphListener.getRemovedJobGraphs()).containsExactly(jobID);
+                    () -> testingExecutionPlanListener.getRemovedExecutionPlans().size() > 0);
+            assertThat(testingExecutionPlanListener.getRemovedExecutionPlans())
+                    .containsExactly(jobID);
 
-            jobGraphStoreWatcher.stop();
+            executionPlanStoreWatcher.stop();
         }
     }
 
-    private JobGraphStoreWatcher createAndStartJobGraphStoreWatcher(CuratorFramework client)
-            throws Exception {
-        final ZooKeeperJobGraphStoreWatcher jobGraphStoreWatcher =
-                new ZooKeeperJobGraphStoreWatcher(new PathChildrenCache(client, "/", false));
-        jobGraphStoreWatcher.start(testingJobGraphListener);
-        return jobGraphStoreWatcher;
+    private ExecutionPlanStoreWatcher createAndStartExecutionPlanStoreWatcher(
+            CuratorFramework client) throws Exception {
+        final ZooKeeperExecutionPlanStoreWatcher executionPlanStoreWatcher =
+                new ZooKeeperExecutionPlanStoreWatcher(new PathChildrenCache(client, "/", false));
+        executionPlanStoreWatcher.start(testingExecutionPlanListener);
+        return executionPlanStoreWatcher;
     }
 
     private ZooKeeperStateHandleStore<JobGraph> createStateHandleStore(CuratorFramework client)
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlansStoreITCase.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlansStoreITCase.java
new file mode 100644
index 00000000000..ac8a6eb6e82
--- /dev/null
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperExecutionPlansStoreITCase.java
@@ -0,0 +1,371 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.runtime.jobmanager;
+
+import org.apache.flink.api.common.JobID;
+import org.apache.flink.core.testutils.EachCallbackWrapper;
+import org.apache.flink.runtime.dispatcher.NoOpExecutionPlanListener;
+import org.apache.flink.runtime.jobgraph.JobGraphBuilder;
+import org.apache.flink.runtime.jobgraph.JobGraphTestUtils;
+import org.apache.flink.runtime.jobgraph.JobVertex;
+import org.apache.flink.runtime.persistence.RetrievableStateStorageHelper;
+import org.apache.flink.runtime.state.RetrievableStreamStateHandle;
+import org.apache.flink.runtime.state.memory.ByteStreamStateHandle;
+import org.apache.flink.runtime.util.TestingFatalErrorHandlerExtension;
+import org.apache.flink.runtime.zookeeper.ZooKeeperExtension;
+import org.apache.flink.runtime.zookeeper.ZooKeeperStateHandleStore;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
+import org.apache.flink.util.InstantiationUtil;
+import org.apache.flink.util.TestLogger;
+import org.apache.flink.util.concurrent.Executors;
+
+import org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework;
+import org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.cache.PathChildrenCache;
+
+import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.extension.RegisterExtension;
+import org.mockito.invocation.InvocationOnMock;
+import org.mockito.stubbing.Answer;
+
+import javax.annotation.Nonnull;
+
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.UUID;
+import java.util.concurrent.CountDownLatch;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
+import static org.mockito.Matchers.any;
+import static org.mockito.Mockito.atMost;
+import static org.mockito.Mockito.doAnswer;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.never;
+import static org.mockito.Mockito.times;
+import static org.mockito.Mockito.verify;
+
+/**
+ * IT tests for {@link DefaultExecutionPlanStore} with all ZooKeeper components(e.g. {@link
+ * ZooKeeperStateHandleStore}, {@link ZooKeeperExecutionPlanStoreWatcher}, {@link
+ * ZooKeeperExecutionPlanStoreUtil}).
+ */
+public class ZooKeeperExecutionPlansStoreITCase extends TestLogger {
+
+    private final ZooKeeperExtension zooKeeperExtension = new ZooKeeperExtension();
+
+    @RegisterExtension
+    final EachCallbackWrapper<ZooKeeperExtension> zooKeeperResource =
+            new EachCallbackWrapper<>(zooKeeperExtension);
+
+    @RegisterExtension
+    final TestingFatalErrorHandlerExtension testingFatalErrorHandlerResource =
+            new TestingFatalErrorHandlerExtension();
+
+    private static final RetrievableStateStorageHelper<ExecutionPlan> localStateStorage =
+            executionPlan -> {
+                ByteStreamStateHandle byteStreamStateHandle =
+                        new ByteStreamStateHandle(
+                                String.valueOf(UUID.randomUUID()),
+                                InstantiationUtil.serializeObject(executionPlan));
+                return new RetrievableStreamStateHandle<>(byteStreamStateHandle);
+            };
+
+    @Test
+    public void testPutAndRemoveExecutionPlan() throws Exception {
+        ExecutionPlanStore executionPlans =
+                createZooKeeperExecutionPlanStore("/testPutAndRemoveExecutionPlan");
+
+        try {
+            ExecutionPlanStore.ExecutionPlanListener listener =
+                    mock(ExecutionPlanStore.ExecutionPlanListener.class);
+
+            executionPlans.start(listener);
+
+            ExecutionPlan executionPlan = createExecutionPlan(new JobID(), "JobName");
+
+            // Empty state
+            assertThat(executionPlans.getJobIds()).isEmpty();
+
+            // Add initial
+            executionPlans.putExecutionPlan(executionPlan);
+
+            // Verify initial job graph
+            Collection<JobID> jobIds = executionPlans.getJobIds();
+            assertThat(jobIds).hasSize(1);
+
+            JobID jobId = jobIds.iterator().next();
+
+            verifyExecutionPlans(executionPlan, executionPlans.recoverExecutionPlan(jobId));
+
+            // Update (same ID)
+            executionPlan = createExecutionPlan(executionPlan.getJobID(), "Updated JobName");
+            executionPlans.putExecutionPlan(executionPlan);
+
+            // Verify updated
+            jobIds = executionPlans.getJobIds();
+            assertThat(jobIds).hasSize(1);
+
+            jobId = jobIds.iterator().next();
+
+            verifyExecutionPlans(executionPlan, executionPlans.recoverExecutionPlan(jobId));
+
+            // Remove
+            executionPlans
+                    .globalCleanupAsync(executionPlan.getJobID(), Executors.directExecutor())
+                    .join();
+
+            // Empty state
+            assertThat(executionPlans.getJobIds()).isEmpty();
+
+            // Nothing should have been notified
+            verify(listener, atMost(1)).onAddedExecutionPlan(any(JobID.class));
+            verify(listener, never()).onRemovedExecutionPlan(any(JobID.class));
+
+            // Don't fail if called again
+            executionPlans
+                    .globalCleanupAsync(executionPlan.getJobID(), Executors.directExecutor())
+                    .join();
+        } finally {
+            executionPlans.stop();
+        }
+    }
+
+    @Nonnull
+    private ExecutionPlanStore createZooKeeperExecutionPlanStore(String fullPath) throws Exception {
+        final CuratorFramework client =
+                zooKeeperExtension.getZooKeeperClient(
+                        testingFatalErrorHandlerResource.getTestingFatalErrorHandler());
+        // Ensure that the job graphs path exists
+        client.newNamespaceAwareEnsurePath(fullPath).ensure(client.getZookeeperClient());
+
+        // All operations will have the path as root
+        CuratorFramework facade = client.usingNamespace(client.getNamespace() + fullPath);
+        final ZooKeeperStateHandleStore<ExecutionPlan> zooKeeperStateHandleStore =
+                new ZooKeeperStateHandleStore<>(facade, localStateStorage);
+        return new DefaultExecutionPlanStore<>(
+                zooKeeperStateHandleStore,
+                new ZooKeeperExecutionPlanStoreWatcher(new PathChildrenCache(facade, "/", false)),
+                ZooKeeperExecutionPlanStoreUtil.INSTANCE);
+    }
+
+    @Test
+    public void testRecoverExecutionPlans() throws Exception {
+        ExecutionPlanStore executionPlans =
+                createZooKeeperExecutionPlanStore("/testRecoverExecutionPlans");
+
+        try {
+            ExecutionPlanStore.ExecutionPlanListener listener =
+                    mock(ExecutionPlanStore.ExecutionPlanListener.class);
+
+            executionPlans.start(listener);
+
+            HashMap<JobID, ExecutionPlan> expected = new HashMap<>();
+            JobID[] jobIds = new JobID[] {new JobID(), new JobID(), new JobID()};
+
+            expected.put(jobIds[0], createExecutionPlan(jobIds[0]));
+            expected.put(jobIds[1], createExecutionPlan(jobIds[1]));
+            expected.put(jobIds[2], createExecutionPlan(jobIds[2]));
+
+            // Add all
+            for (ExecutionPlan executionPlan : expected.values()) {
+                executionPlans.putExecutionPlan(executionPlan);
+            }
+
+            Collection<JobID> actual = executionPlans.getJobIds();
+
+            assertThat(actual).hasSameSizeAs(expected.entrySet());
+
+            for (JobID jobId : actual) {
+                ExecutionPlan executionPlan = executionPlans.recoverExecutionPlan(jobId);
+                assertThat(expected).containsKey(executionPlan.getJobID());
+
+                verifyExecutionPlans(expected.get(executionPlan.getJobID()), executionPlan);
+
+                executionPlans
+                        .globalCleanupAsync(executionPlan.getJobID(), Executors.directExecutor())
+                        .join();
+            }
+
+            // Empty state
+            assertThat(executionPlans.getJobIds()).isEmpty();
+
+            // Nothing should have been notified
+            verify(listener, atMost(expected.size())).onAddedExecutionPlan(any(JobID.class));
+            verify(listener, never()).onRemovedExecutionPlan(any(JobID.class));
+        } finally {
+            executionPlans.stop();
+        }
+    }
+
+    @Test
+    public void testConcurrentAddExecutionPlan() throws Exception {
+        ExecutionPlanStore executionPlans = null;
+        ExecutionPlanStore otherExecutionPlans = null;
+
+        try {
+            executionPlans = createZooKeeperExecutionPlanStore("/testConcurrentAddExecutionPlan");
+
+            otherExecutionPlans =
+                    createZooKeeperExecutionPlanStore("/testConcurrentAddExecutionPlan");
+
+            ExecutionPlan executionPlan = createExecutionPlan(new JobID());
+            ExecutionPlan otherExecutionPlan = createExecutionPlan(new JobID());
+
+            ExecutionPlanStore.ExecutionPlanListener listener =
+                    mock(ExecutionPlanStore.ExecutionPlanListener.class);
+
+            final JobID[] actualOtherJobId = new JobID[1];
+            final CountDownLatch sync = new CountDownLatch(1);
+
+            doAnswer(
+                            new Answer<Void>() {
+                                @Override
+                                public Void answer(InvocationOnMock invocation) throws Throwable {
+                                    actualOtherJobId[0] = (JobID) invocation.getArguments()[0];
+                                    sync.countDown();
+
+                                    return null;
+                                }
+                            })
+                    .when(listener)
+                    .onAddedExecutionPlan(any(JobID.class));
+
+            // Test
+            executionPlans.start(listener);
+            otherExecutionPlans.start(NoOpExecutionPlanListener.INSTANCE);
+
+            executionPlans.putExecutionPlan(executionPlan);
+
+            // Everything is cool... not much happening ;)
+            verify(listener, never()).onAddedExecutionPlan(any(JobID.class));
+            verify(listener, never()).onRemovedExecutionPlan(any(JobID.class));
+
+            // This bad boy adds the other job graph
+            otherExecutionPlans.putExecutionPlan(otherExecutionPlan);
+
+            // Wait for the cache to call back
+            sync.await();
+
+            verify(listener, times(1)).onAddedExecutionPlan(any(JobID.class));
+            verify(listener, never()).onRemovedExecutionPlan(any(JobID.class));
+
+            assertThat(actualOtherJobId[0]).isEqualTo(otherExecutionPlan.getJobID());
+        } finally {
+            if (executionPlans != null) {
+                executionPlans.stop();
+            }
+
+            if (otherExecutionPlans != null) {
+                otherExecutionPlans.stop();
+            }
+        }
+    }
+
+    @Test
+    public void testUpdateExecutionPlanYouDidNotGetOrAdd() throws Exception {
+        ExecutionPlanStore executionPlans =
+                createZooKeeperExecutionPlanStore("/testUpdateExecutionPlanYouDidNotGetOrAdd");
+
+        ExecutionPlanStore otherExecutionPlans =
+                createZooKeeperExecutionPlanStore("/testUpdateExecutionPlanYouDidNotGetOrAdd");
+
+        executionPlans.start(NoOpExecutionPlanListener.INSTANCE);
+        otherExecutionPlans.start(NoOpExecutionPlanListener.INSTANCE);
+
+        ExecutionPlan executionPlan = createExecutionPlan(new JobID());
+
+        executionPlans.putExecutionPlan(executionPlan);
+
+        assertThatExceptionOfType(IllegalStateException.class)
+                .isThrownBy(() -> otherExecutionPlans.putExecutionPlan(executionPlan));
+    }
+
+    /**
+     * Tests that we fail with an exception if the job cannot be removed from the
+     * ZooKeeperExecutionPlanStore.
+     *
+     * <p>Tests that a close ZooKeeperExecutionPlanStore no longer holds any locks.
+     */
+    @Test
+    public void testExecutionPlanRemovalFailureAndLockRelease() throws Exception {
+        final ExecutionPlanStore submittedExecutionPlanStore =
+                createZooKeeperExecutionPlanStore("/testConcurrentAddExecutionPlan");
+        final ExecutionPlanStore otherSubmittedExecutionPlanStore =
+                createZooKeeperExecutionPlanStore("/testConcurrentAddExecutionPlan");
+
+        final TestingExecutionPlanListener listener = new TestingExecutionPlanListener();
+        submittedExecutionPlanStore.start(listener);
+        otherSubmittedExecutionPlanStore.start(listener);
+
+        final ExecutionPlan executionPlan = JobGraphTestUtils.emptyJobGraph();
+        submittedExecutionPlanStore.putExecutionPlan(executionPlan);
+
+        final ExecutionPlan recoveredExecutionPlan =
+                otherSubmittedExecutionPlanStore.recoverExecutionPlan(executionPlan.getJobID());
+
+        assertThat(recoveredExecutionPlan).isNotNull();
+
+        assertThatExceptionOfType(Exception.class)
+                .as(
+                        "It should not be possible to remove the ExecutionPlan since the first store still has a lock on it.")
+                .isThrownBy(
+                        () ->
+                                otherSubmittedExecutionPlanStore
+                                        .globalCleanupAsync(
+                                                recoveredExecutionPlan.getJobID(),
+                                                Executors.directExecutor())
+                                        .join());
+
+        submittedExecutionPlanStore.stop();
+
+        // now we should be able to delete the job graph
+        otherSubmittedExecutionPlanStore
+                .globalCleanupAsync(recoveredExecutionPlan.getJobID(), Executors.directExecutor())
+                .join();
+
+        assertThat(
+                        otherSubmittedExecutionPlanStore.recoverExecutionPlan(
+                                recoveredExecutionPlan.getJobID()))
+                .isNull();
+
+        otherSubmittedExecutionPlanStore.stop();
+    }
+
+    // ---------------------------------------------------------------------------------------------
+
+    private ExecutionPlan createExecutionPlan(JobID jobId) {
+        return createExecutionPlan(jobId, "Test ExecutionPlan");
+    }
+
+    private ExecutionPlan createExecutionPlan(JobID jobId, String jobName) {
+        final JobVertex jobVertex = new JobVertex("Test JobVertex");
+        jobVertex.setParallelism(1);
+
+        return JobGraphBuilder.newStreamingJobGraphBuilder()
+                .setJobName(jobName)
+                .setJobId(jobId)
+                .addJobVertex(jobVertex)
+                .build();
+    }
+
+    private void verifyExecutionPlans(ExecutionPlan expected, ExecutionPlan actual) {
+        assertThat(actual.getName()).isEqualTo(expected.getName());
+        assertThat(actual.getJobID()).isEqualTo(expected.getJobID());
+    }
+}
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphsStoreITCase.java b/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphsStoreITCase.java
deleted file mode 100644
index 4560d545fe0..00000000000
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/jobmanager/ZooKeeperJobGraphsStoreITCase.java
+++ /dev/null
@@ -1,360 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.flink.runtime.jobmanager;
-
-import org.apache.flink.api.common.JobID;
-import org.apache.flink.core.testutils.EachCallbackWrapper;
-import org.apache.flink.runtime.dispatcher.NoOpJobGraphListener;
-import org.apache.flink.runtime.jobgraph.JobGraph;
-import org.apache.flink.runtime.jobgraph.JobGraphBuilder;
-import org.apache.flink.runtime.jobgraph.JobGraphTestUtils;
-import org.apache.flink.runtime.jobgraph.JobVertex;
-import org.apache.flink.runtime.jobmanager.JobGraphStore.JobGraphListener;
-import org.apache.flink.runtime.persistence.RetrievableStateStorageHelper;
-import org.apache.flink.runtime.state.RetrievableStreamStateHandle;
-import org.apache.flink.runtime.state.memory.ByteStreamStateHandle;
-import org.apache.flink.runtime.util.TestingFatalErrorHandlerExtension;
-import org.apache.flink.runtime.zookeeper.ZooKeeperExtension;
-import org.apache.flink.runtime.zookeeper.ZooKeeperStateHandleStore;
-import org.apache.flink.util.InstantiationUtil;
-import org.apache.flink.util.TestLogger;
-import org.apache.flink.util.concurrent.Executors;
-
-import org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework;
-import org.apache.flink.shaded.curator5.org.apache.curator.framework.recipes.cache.PathChildrenCache;
-
-import org.junit.jupiter.api.Test;
-import org.junit.jupiter.api.extension.RegisterExtension;
-import org.mockito.invocation.InvocationOnMock;
-import org.mockito.stubbing.Answer;
-
-import javax.annotation.Nonnull;
-
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.UUID;
-import java.util.concurrent.CountDownLatch;
-
-import static org.assertj.core.api.Assertions.assertThat;
-import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
-import static org.mockito.Matchers.any;
-import static org.mockito.Mockito.atMost;
-import static org.mockito.Mockito.doAnswer;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.never;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-
-/**
- * IT tests for {@link DefaultJobGraphStore} with all ZooKeeper components(e.g. {@link
- * ZooKeeperStateHandleStore}, {@link ZooKeeperJobGraphStoreWatcher}, {@link
- * ZooKeeperJobGraphStoreUtil}).
- */
-public class ZooKeeperJobGraphsStoreITCase extends TestLogger {
-
-    private final ZooKeeperExtension zooKeeperExtension = new ZooKeeperExtension();
-
-    @RegisterExtension
-    final EachCallbackWrapper<ZooKeeperExtension> zooKeeperResource =
-            new EachCallbackWrapper<>(zooKeeperExtension);
-
-    @RegisterExtension
-    final TestingFatalErrorHandlerExtension testingFatalErrorHandlerResource =
-            new TestingFatalErrorHandlerExtension();
-
-    private static final RetrievableStateStorageHelper<JobGraph> localStateStorage =
-            jobGraph -> {
-                ByteStreamStateHandle byteStreamStateHandle =
-                        new ByteStreamStateHandle(
-                                String.valueOf(UUID.randomUUID()),
-                                InstantiationUtil.serializeObject(jobGraph));
-                return new RetrievableStreamStateHandle<>(byteStreamStateHandle);
-            };
-
-    @Test
-    public void testPutAndRemoveJobGraph() throws Exception {
-        JobGraphStore jobGraphs = createZooKeeperJobGraphStore("/testPutAndRemoveJobGraph");
-
-        try {
-            JobGraphStore.JobGraphListener listener = mock(JobGraphStore.JobGraphListener.class);
-
-            jobGraphs.start(listener);
-
-            JobGraph jobGraph = createJobGraph(new JobID(), "JobName");
-
-            // Empty state
-            assertThat(jobGraphs.getJobIds()).isEmpty();
-
-            // Add initial
-            jobGraphs.putJobGraph(jobGraph);
-
-            // Verify initial job graph
-            Collection<JobID> jobIds = jobGraphs.getJobIds();
-            assertThat(jobIds).hasSize(1);
-
-            JobID jobId = jobIds.iterator().next();
-
-            verifyJobGraphs(jobGraph, jobGraphs.recoverJobGraph(jobId));
-
-            // Update (same ID)
-            jobGraph = createJobGraph(jobGraph.getJobID(), "Updated JobName");
-            jobGraphs.putJobGraph(jobGraph);
-
-            // Verify updated
-            jobIds = jobGraphs.getJobIds();
-            assertThat(jobIds).hasSize(1);
-
-            jobId = jobIds.iterator().next();
-
-            verifyJobGraphs(jobGraph, jobGraphs.recoverJobGraph(jobId));
-
-            // Remove
-            jobGraphs.globalCleanupAsync(jobGraph.getJobID(), Executors.directExecutor()).join();
-
-            // Empty state
-            assertThat(jobGraphs.getJobIds()).isEmpty();
-
-            // Nothing should have been notified
-            verify(listener, atMost(1)).onAddedJobGraph(any(JobID.class));
-            verify(listener, never()).onRemovedJobGraph(any(JobID.class));
-
-            // Don't fail if called again
-            jobGraphs.globalCleanupAsync(jobGraph.getJobID(), Executors.directExecutor()).join();
-        } finally {
-            jobGraphs.stop();
-        }
-    }
-
-    @Nonnull
-    private JobGraphStore createZooKeeperJobGraphStore(String fullPath) throws Exception {
-        final CuratorFramework client =
-                zooKeeperExtension.getZooKeeperClient(
-                        testingFatalErrorHandlerResource.getTestingFatalErrorHandler());
-        // Ensure that the job graphs path exists
-        client.newNamespaceAwareEnsurePath(fullPath).ensure(client.getZookeeperClient());
-
-        // All operations will have the path as root
-        CuratorFramework facade = client.usingNamespace(client.getNamespace() + fullPath);
-        final ZooKeeperStateHandleStore<JobGraph> zooKeeperStateHandleStore =
-                new ZooKeeperStateHandleStore<>(facade, localStateStorage);
-        return new DefaultJobGraphStore<>(
-                zooKeeperStateHandleStore,
-                new ZooKeeperJobGraphStoreWatcher(new PathChildrenCache(facade, "/", false)),
-                ZooKeeperJobGraphStoreUtil.INSTANCE);
-    }
-
-    @Test
-    public void testRecoverJobGraphs() throws Exception {
-        JobGraphStore jobGraphs = createZooKeeperJobGraphStore("/testRecoverJobGraphs");
-
-        try {
-            JobGraphStore.JobGraphListener listener = mock(JobGraphStore.JobGraphListener.class);
-
-            jobGraphs.start(listener);
-
-            HashMap<JobID, JobGraph> expected = new HashMap<>();
-            JobID[] jobIds = new JobID[] {new JobID(), new JobID(), new JobID()};
-
-            expected.put(jobIds[0], createJobGraph(jobIds[0]));
-            expected.put(jobIds[1], createJobGraph(jobIds[1]));
-            expected.put(jobIds[2], createJobGraph(jobIds[2]));
-
-            // Add all
-            for (JobGraph jobGraph : expected.values()) {
-                jobGraphs.putJobGraph(jobGraph);
-            }
-
-            Collection<JobID> actual = jobGraphs.getJobIds();
-
-            assertThat(actual).hasSameSizeAs(expected.entrySet());
-
-            for (JobID jobId : actual) {
-                JobGraph jobGraph = jobGraphs.recoverJobGraph(jobId);
-                assertThat(expected).containsKey(jobGraph.getJobID());
-
-                verifyJobGraphs(expected.get(jobGraph.getJobID()), jobGraph);
-
-                jobGraphs
-                        .globalCleanupAsync(jobGraph.getJobID(), Executors.directExecutor())
-                        .join();
-            }
-
-            // Empty state
-            assertThat(jobGraphs.getJobIds()).isEmpty();
-
-            // Nothing should have been notified
-            verify(listener, atMost(expected.size())).onAddedJobGraph(any(JobID.class));
-            verify(listener, never()).onRemovedJobGraph(any(JobID.class));
-        } finally {
-            jobGraphs.stop();
-        }
-    }
-
-    @Test
-    public void testConcurrentAddJobGraph() throws Exception {
-        JobGraphStore jobGraphs = null;
-        JobGraphStore otherJobGraphs = null;
-
-        try {
-            jobGraphs = createZooKeeperJobGraphStore("/testConcurrentAddJobGraph");
-
-            otherJobGraphs = createZooKeeperJobGraphStore("/testConcurrentAddJobGraph");
-
-            JobGraph jobGraph = createJobGraph(new JobID());
-            JobGraph otherJobGraph = createJobGraph(new JobID());
-
-            JobGraphListener listener = mock(JobGraphStore.JobGraphListener.class);
-
-            final JobID[] actualOtherJobId = new JobID[1];
-            final CountDownLatch sync = new CountDownLatch(1);
-
-            doAnswer(
-                            new Answer<Void>() {
-                                @Override
-                                public Void answer(InvocationOnMock invocation) throws Throwable {
-                                    actualOtherJobId[0] = (JobID) invocation.getArguments()[0];
-                                    sync.countDown();
-
-                                    return null;
-                                }
-                            })
-                    .when(listener)
-                    .onAddedJobGraph(any(JobID.class));
-
-            // Test
-            jobGraphs.start(listener);
-            otherJobGraphs.start(NoOpJobGraphListener.INSTANCE);
-
-            jobGraphs.putJobGraph(jobGraph);
-
-            // Everything is cool... not much happening ;)
-            verify(listener, never()).onAddedJobGraph(any(JobID.class));
-            verify(listener, never()).onRemovedJobGraph(any(JobID.class));
-
-            // This bad boy adds the other job graph
-            otherJobGraphs.putJobGraph(otherJobGraph);
-
-            // Wait for the cache to call back
-            sync.await();
-
-            verify(listener, times(1)).onAddedJobGraph(any(JobID.class));
-            verify(listener, never()).onRemovedJobGraph(any(JobID.class));
-
-            assertThat(actualOtherJobId[0]).isEqualTo(otherJobGraph.getJobID());
-        } finally {
-            if (jobGraphs != null) {
-                jobGraphs.stop();
-            }
-
-            if (otherJobGraphs != null) {
-                otherJobGraphs.stop();
-            }
-        }
-    }
-
-    @Test
-    public void testUpdateJobGraphYouDidNotGetOrAdd() throws Exception {
-        JobGraphStore jobGraphs =
-                createZooKeeperJobGraphStore("/testUpdateJobGraphYouDidNotGetOrAdd");
-
-        JobGraphStore otherJobGraphs =
-                createZooKeeperJobGraphStore("/testUpdateJobGraphYouDidNotGetOrAdd");
-
-        jobGraphs.start(NoOpJobGraphListener.INSTANCE);
-        otherJobGraphs.start(NoOpJobGraphListener.INSTANCE);
-
-        JobGraph jobGraph = createJobGraph(new JobID());
-
-        jobGraphs.putJobGraph(jobGraph);
-
-        assertThatExceptionOfType(IllegalStateException.class)
-                .isThrownBy(() -> otherJobGraphs.putJobGraph(jobGraph));
-    }
-
-    /**
-     * Tests that we fail with an exception if the job cannot be removed from the
-     * ZooKeeperJobGraphStore.
-     *
-     * <p>Tests that a close ZooKeeperJobGraphStore no longer holds any locks.
-     */
-    @Test
-    public void testJobGraphRemovalFailureAndLockRelease() throws Exception {
-        final JobGraphStore submittedJobGraphStore =
-                createZooKeeperJobGraphStore("/testConcurrentAddJobGraph");
-        final JobGraphStore otherSubmittedJobGraphStore =
-                createZooKeeperJobGraphStore("/testConcurrentAddJobGraph");
-
-        final TestingJobGraphListener listener = new TestingJobGraphListener();
-        submittedJobGraphStore.start(listener);
-        otherSubmittedJobGraphStore.start(listener);
-
-        final JobGraph jobGraph = JobGraphTestUtils.emptyJobGraph();
-        submittedJobGraphStore.putJobGraph(jobGraph);
-
-        final JobGraph recoveredJobGraph =
-                otherSubmittedJobGraphStore.recoverJobGraph(jobGraph.getJobID());
-
-        assertThat(recoveredJobGraph).isNotNull();
-
-        assertThatExceptionOfType(Exception.class)
-                .as(
-                        "It should not be possible to remove the JobGraph since the first store still has a lock on it.")
-                .isThrownBy(
-                        () ->
-                                otherSubmittedJobGraphStore
-                                        .globalCleanupAsync(
-                                                recoveredJobGraph.getJobID(),
-                                                Executors.directExecutor())
-                                        .join());
-
-        submittedJobGraphStore.stop();
-
-        // now we should be able to delete the job graph
-        otherSubmittedJobGraphStore
-                .globalCleanupAsync(recoveredJobGraph.getJobID(), Executors.directExecutor())
-                .join();
-
-        assertThat(otherSubmittedJobGraphStore.recoverJobGraph(recoveredJobGraph.getJobID()))
-                .isNull();
-
-        otherSubmittedJobGraphStore.stop();
-    }
-
-    // ---------------------------------------------------------------------------------------------
-
-    private JobGraph createJobGraph(JobID jobId) {
-        return createJobGraph(jobId, "Test JobGraph");
-    }
-
-    private JobGraph createJobGraph(JobID jobId, String jobName) {
-        final JobVertex jobVertex = new JobVertex("Test JobVertex");
-        jobVertex.setParallelism(1);
-
-        return JobGraphBuilder.newStreamingJobGraphBuilder()
-                .setJobName(jobName)
-                .setJobId(jobId)
-                .addJobVertex(jobVertex)
-                .build();
-    }
-
-    private void verifyJobGraphs(JobGraph expected, JobGraph actual) {
-        assertThat(actual.getName()).isEqualTo(expected.getName());
-        assertThat(actual.getJobID()).isEqualTo(expected.getJobID());
-    }
-}
diff --git a/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/TestingJobGraphStore.java b/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/TestingExecutionPlanStore.java
similarity index 61%
rename from flink-runtime/src/test/java/org/apache/flink/runtime/testutils/TestingJobGraphStore.java
rename to flink-runtime/src/test/java/org/apache/flink/runtime/testutils/TestingExecutionPlanStore.java
index bd0f9a88b02..32e7b33813f 100644
--- a/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/TestingJobGraphStore.java
+++ b/flink-runtime/src/test/java/org/apache/flink/runtime/testutils/TestingExecutionPlanStore.java
@@ -19,9 +19,9 @@
 package org.apache.flink.runtime.testutils;
 
 import org.apache.flink.api.common.JobID;
-import org.apache.flink.runtime.jobgraph.JobGraph;
 import org.apache.flink.runtime.jobgraph.JobResourceRequirements;
-import org.apache.flink.runtime.jobmanager.JobGraphStore;
+import org.apache.flink.runtime.jobmanager.ExecutionPlanStore;
+import org.apache.flink.streaming.api.graph.ExecutionPlan;
 import org.apache.flink.util.ExceptionUtils;
 import org.apache.flink.util.Preconditions;
 import org.apache.flink.util.concurrent.FutureUtils;
@@ -42,12 +42,12 @@ import java.util.concurrent.CompletableFuture;
 import java.util.concurrent.Executor;
 import java.util.function.BiFunction;
 
-/** In-Memory implementation of {@link JobGraphStore} for testing purposes. */
-public class TestingJobGraphStore implements JobGraphStore {
+/** In-Memory implementation of {@link ExecutionPlanStore} for testing purposes. */
+public class TestingExecutionPlanStore implements ExecutionPlanStore {
 
-    private final Map<JobID, JobGraph> storedJobs = new HashMap<>();
+    private final Map<JobID, ExecutionPlan> storedJobs = new HashMap<>();
 
-    private final ThrowingConsumer<JobGraphListener, ? extends Exception> startConsumer;
+    private final ThrowingConsumer<ExecutionPlanListener, ? extends Exception> startConsumer;
 
     private final ThrowingRunnable<? extends Exception> stopRunnable;
 
@@ -55,12 +55,13 @@ public class TestingJobGraphStore implements JobGraphStore {
             jobIdsFunction;
 
     private final BiFunctionWithException<
-                    JobID, Map<JobID, JobGraph>, JobGraph, ? extends Exception>
-            recoverJobGraphFunction;
+                    JobID, Map<JobID, ExecutionPlan>, ExecutionPlan, ? extends Exception>
+            recoverExecutionPlanFunction;
 
-    private final ThrowingConsumer<JobGraph, ? extends Exception> putJobGraphConsumer;
+    private final ThrowingConsumer<ExecutionPlan, ? extends Exception> putExecutionPlanConsumer;
 
-    private final BiConsumerWithException<JobGraph, JobResourceRequirements, ? extends Exception>
+    private final BiConsumerWithException<
+                    ExecutionPlan, JobResourceRequirements, ? extends Exception>
             putJobResourceRequirementsConsumer;
 
     private final BiFunction<JobID, Executor, CompletableFuture<Void>> globalCleanupFunction;
@@ -69,36 +70,38 @@ public class TestingJobGraphStore implements JobGraphStore {
 
     private boolean started;
 
-    private TestingJobGraphStore(
-            ThrowingConsumer<JobGraphListener, ? extends Exception> startConsumer,
+    private TestingExecutionPlanStore(
+            ThrowingConsumer<ExecutionPlanListener, ? extends Exception> startConsumer,
             ThrowingRunnable<? extends Exception> stopRunnable,
             FunctionWithException<Collection<JobID>, Collection<JobID>, ? extends Exception>
                     jobIdsFunction,
-            BiFunctionWithException<JobID, Map<JobID, JobGraph>, JobGraph, ? extends Exception>
-                    recoverJobGraphFunction,
-            ThrowingConsumer<JobGraph, ? extends Exception> putJobGraphConsumer,
-            BiConsumerWithException<JobGraph, JobResourceRequirements, ? extends Exception>
+            BiFunctionWithException<
+                            JobID, Map<JobID, ExecutionPlan>, ExecutionPlan, ? extends Exception>
+                    recoverExecutionPlanFunction,
+            ThrowingConsumer<ExecutionPlan, ? extends Exception> putExecutionPlanConsumer,
+            BiConsumerWithException<ExecutionPlan, JobResourceRequirements, ? extends Exception>
                     putJobResourceRequirementsConsumer,
             BiFunction<JobID, Executor, CompletableFuture<Void>> globalCleanupFunction,
             BiFunction<JobID, Executor, CompletableFuture<Void>> localCleanupFunction,
-            Collection<JobGraph> initialJobGraphs) {
+            Collection<ExecutionPlan> initialExecutionPlans) {
         this.startConsumer = startConsumer;
         this.stopRunnable = stopRunnable;
         this.jobIdsFunction = jobIdsFunction;
-        this.recoverJobGraphFunction = recoverJobGraphFunction;
-        this.putJobGraphConsumer = putJobGraphConsumer;
+        this.recoverExecutionPlanFunction = recoverExecutionPlanFunction;
+        this.putExecutionPlanConsumer = putExecutionPlanConsumer;
         this.putJobResourceRequirementsConsumer = putJobResourceRequirementsConsumer;
         this.globalCleanupFunction = globalCleanupFunction;
         this.localCleanupFunction = localCleanupFunction;
 
-        for (JobGraph initialJobGraph : initialJobGraphs) {
-            storedJobs.put(initialJobGraph.getJobID(), initialJobGraph);
+        for (ExecutionPlan initialExecutionPlan : initialExecutionPlans) {
+            storedJobs.put(initialExecutionPlan.getJobID(), initialExecutionPlan);
         }
     }
 
     @Override
-    public synchronized void start(@Nullable JobGraphListener jobGraphListener) throws Exception {
-        startConsumer.accept(jobGraphListener);
+    public synchronized void start(@Nullable ExecutionPlanListener executionPlanListener)
+            throws Exception {
+        startConsumer.accept(executionPlanListener);
         started = true;
     }
 
@@ -109,25 +112,25 @@ public class TestingJobGraphStore implements JobGraphStore {
     }
 
     @Override
-    public synchronized JobGraph recoverJobGraph(JobID jobId) throws Exception {
+    public synchronized ExecutionPlan recoverExecutionPlan(JobID jobId) throws Exception {
         verifyIsStarted();
-        return recoverJobGraphFunction.apply(jobId, storedJobs);
+        return recoverExecutionPlanFunction.apply(jobId, storedJobs);
     }
 
     @Override
-    public synchronized void putJobGraph(JobGraph jobGraph) throws Exception {
+    public synchronized void putExecutionPlan(ExecutionPlan executionPlan) throws Exception {
         verifyIsStarted();
-        putJobGraphConsumer.accept(jobGraph);
-        storedJobs.put(jobGraph.getJobID(), jobGraph);
+        putExecutionPlanConsumer.accept(executionPlan);
+        storedJobs.put(executionPlan.getJobID(), executionPlan);
     }
 
     @Override
     public void putJobResourceRequirements(
             JobID jobId, JobResourceRequirements jobResourceRequirements) throws Exception {
         verifyIsStarted();
-        final JobGraph jobGraph =
+        final ExecutionPlan executionPlan =
                 Preconditions.checkNotNull(storedJobs.get(jobId), "Job [%s] not found.", jobId);
-        putJobResourceRequirementsConsumer.accept(jobGraph, jobResourceRequirements);
+        putJobResourceRequirementsConsumer.accept(executionPlan, jobResourceRequirements);
     }
 
     @Override
@@ -161,9 +164,9 @@ public class TestingJobGraphStore implements JobGraphStore {
         return new Builder();
     }
 
-    /** {@code Builder} for creating {@code TestingJobGraphStore} instances. */
+    /** {@code Builder} for creating {@code TestingExecutionPlanStore} instances. */
     public static class Builder {
-        private ThrowingConsumer<JobGraphListener, ? extends Exception> startConsumer =
+        private ThrowingConsumer<ExecutionPlanListener, ? extends Exception> startConsumer =
                 ignored -> {};
 
         private ThrowingRunnable<? extends Exception> stopRunnable = () -> {};
@@ -171,12 +174,14 @@ public class TestingJobGraphStore implements JobGraphStore {
         private FunctionWithException<Collection<JobID>, Collection<JobID>, ? extends Exception>
                 jobIdsFunction = jobIds -> jobIds;
 
-        private BiFunctionWithException<JobID, Map<JobID, JobGraph>, JobGraph, ? extends Exception>
-                recoverJobGraphFunction = (jobId, jobs) -> jobs.get(jobId);
+        private BiFunctionWithException<
+                        JobID, Map<JobID, ExecutionPlan>, ExecutionPlan, ? extends Exception>
+                recoverExecutionPlanFunction = (jobId, jobs) -> jobs.get(jobId);
 
-        private ThrowingConsumer<JobGraph, ? extends Exception> putJobGraphConsumer = ignored -> {};
+        private ThrowingConsumer<ExecutionPlan, ? extends Exception> putExecutionPlanConsumer =
+                ignored -> {};
 
-        private BiConsumerWithException<JobGraph, JobResourceRequirements, ? extends Exception>
+        private BiConsumerWithException<ExecutionPlan, JobResourceRequirements, ? extends Exception>
                 putJobResourceRequirementsConsumer = (graph, requirements) -> {};
 
         private BiFunction<JobID, Executor, CompletableFuture<Void>> globalCleanupFunction =
@@ -185,14 +190,14 @@ public class TestingJobGraphStore implements JobGraphStore {
         private BiFunction<JobID, Executor, CompletableFuture<Void>> localCleanupFunction =
                 (ignoredJobId, ignoredExecutor) -> FutureUtils.completedVoidFuture();
 
-        private Collection<JobGraph> initialJobGraphs = Collections.emptyList();
+        private Collection<ExecutionPlan> initialExecutionPlans = Collections.emptyList();
 
-        private boolean startJobGraphStore = false;
+        private boolean startExecutionPlanStore = false;
 
         private Builder() {}
 
         public Builder setStartConsumer(
-                ThrowingConsumer<JobGraphListener, ? extends Exception> startConsumer) {
+                ThrowingConsumer<ExecutionPlanListener, ? extends Exception> startConsumer) {
             this.startConsumer = startConsumer;
             return this;
         }
@@ -209,21 +214,25 @@ public class TestingJobGraphStore implements JobGraphStore {
             return this;
         }
 
-        public Builder setRecoverJobGraphFunction(
-                BiFunctionWithException<JobID, Map<JobID, JobGraph>, JobGraph, ? extends Exception>
-                        recoverJobGraphFunction) {
-            this.recoverJobGraphFunction = recoverJobGraphFunction;
+        public Builder setRecoverExecutionPlanFunction(
+                BiFunctionWithException<
+                                JobID,
+                                Map<JobID, ExecutionPlan>,
+                                ExecutionPlan,
+                                ? extends Exception>
+                        recoverExecutionPlanFunction) {
+            this.recoverExecutionPlanFunction = recoverExecutionPlanFunction;
             return this;
         }
 
-        public Builder setPutJobGraphConsumer(
-                ThrowingConsumer<JobGraph, ? extends Exception> putJobGraphConsumer) {
-            this.putJobGraphConsumer = putJobGraphConsumer;
+        public Builder setPutExecutionPlanConsumer(
+                ThrowingConsumer<ExecutionPlan, ? extends Exception> putExecutionPlanConsumer) {
+            this.putExecutionPlanConsumer = putExecutionPlanConsumer;
             return this;
         }
 
         public Builder setPutJobResourceRequirementsConsumer(
-                BiConsumerWithException<JobGraph, JobResourceRequirements, ? extends Exception>
+                BiConsumerWithException<ExecutionPlan, JobResourceRequirements, ? extends Exception>
                         putJobResourceRequirementsConsumer) {
             this.putJobResourceRequirementsConsumer = putJobResourceRequirementsConsumer;
             return this;
@@ -241,38 +250,38 @@ public class TestingJobGraphStore implements JobGraphStore {
             return this;
         }
 
-        public Builder setInitialJobGraphs(Collection<JobGraph> initialJobGraphs) {
-            this.initialJobGraphs = initialJobGraphs;
+        public Builder setInitialExecutionPlans(Collection<ExecutionPlan> initialExecutionPlans) {
+            this.initialExecutionPlans = initialExecutionPlans;
             return this;
         }
 
         public Builder withAutomaticStart() {
-            this.startJobGraphStore = true;
+            this.startExecutionPlanStore = true;
             return this;
         }
 
-        public TestingJobGraphStore build() {
-            final TestingJobGraphStore jobGraphStore =
-                    new TestingJobGraphStore(
+        public TestingExecutionPlanStore build() {
+            final TestingExecutionPlanStore executionPlanStore =
+                    new TestingExecutionPlanStore(
                             startConsumer,
                             stopRunnable,
                             jobIdsFunction,
-                            recoverJobGraphFunction,
-                            putJobGraphConsumer,
+                            recoverExecutionPlanFunction,
+                            putExecutionPlanConsumer,
                             putJobResourceRequirementsConsumer,
                             globalCleanupFunction,
                             localCleanupFunction,
-                            initialJobGraphs);
+                            initialExecutionPlans);
 
-            if (startJobGraphStore) {
+            if (startExecutionPlanStore) {
                 try {
-                    jobGraphStore.start(null);
+                    executionPlanStore.start(null);
                 } catch (Exception e) {
                     ExceptionUtils.rethrow(e);
                 }
             }
 
-            return jobGraphStore;
+            return executionPlanStore;
         }
     }
 }
diff --git a/tools/maven/suppressions-runtime.xml b/tools/maven/suppressions-runtime.xml
index 54ae63f8b2e..c60c98421e5 100644
--- a/tools/maven/suppressions-runtime.xml
+++ b/tools/maven/suppressions-runtime.xml
@@ -36,7 +36,8 @@ under the License.
 
 	<!-- Legacy mockito usages -->
 	<!-- Updated this suppress files section due to FLINK-36063, which migrated many classes from flink-streaming-java to flink-runtime. This allows runtime access to stream graph. -->
-	<suppress files="TumblingProcessingTimeWindowsTest.java|SourceFunctionUtil.java|AbstractStreamOperatorTestHarnessTest.java|SynchronousCheckpointITCase.java|TestSpyWrapperStateBackend.java|InterruptSensitiveRestoreTest.java|TaskCheckpointingBehaviourTest.java|StreamTaskTerminationTest.java|StreamMockEnvironment.java|SlidingProcessingTimeWindowsTest.java|TumblingEventTimeWindowsTest.java|RegularWindowOperatorContractTest.java|WindowOperatorContractTest.java|PurgingTriggerTest.java|GlobalW [...]
+	<!-- Updated this suppress files section due to FLINK-36158, which refactored job recovery process to use ExecutionPlan instead of JobGraph. -->
+	<suppress files="ZooKeeperExecutionPlansStoreITCase.java|TumblingProcessingTimeWindowsTest.java|SourceFunctionUtil.java|AbstractStreamOperatorTestHarnessTest.java|SynchronousCheckpointITCase.java|TestSpyWrapperStateBackend.java|InterruptSensitiveRestoreTest.java|TaskCheckpointingBehaviourTest.java|StreamTaskTerminationTest.java|StreamMockEnvironment.java|SlidingProcessingTimeWindowsTest.java|TumblingEventTimeWindowsTest.java|RegularWindowOperatorContractTest.java|WindowOperatorContractT [...]
 			  checks="IllegalImport"/>
 
 	<suppress