@Test public void checkpointingIsDisabledByDefault() { final JobGraph jobGraph = new JobGraph(); assertFalse(jobGraph.isCheckpointingEnabled()); }
public boolean isCheckpointingEnabled() { if (snapshotSettings == null) { return false; } long checkpointInterval = snapshotSettings.getCheckpointCoordinatorConfiguration().getCheckpointInterval(); return checkpointInterval > 0 && checkpointInterval < Long.MAX_VALUE; }
JobGraph implements Serializable { public boolean isCheckpointingEnabled() { if (snapshotSettings == null) { return false; } long checkpointInterval = snapshotSettings.getCheckpointCoordinatorConfiguration().getCheckpointInterval(); return checkpointInterval > 0 && checkpointInterval < Long.MAX_VALUE; } }
JobGraph implements Serializable { public boolean isCheckpointingEnabled() { if (snapshotSettings == null) { return false; } long checkpointInterval = snapshotSettings.getCheckpointCoordinatorConfiguration().getCheckpointInterval(); return checkpointInterval > 0 && checkpointInterval < Long.MAX_VALUE; } JobGraph(String jobName);  JobGraph(JobID jobId, String jobName);  JobGraph(JobVertex... vertices);  JobGraph(String jobName, JobVertex... vertices);  JobGraph(JobID jobId, String jobName, JobVertex... vertices); }
JobGraph implements Serializable { public boolean isCheckpointingEnabled() { if (snapshotSettings == null) { return false; } long checkpointInterval = snapshotSettings.getCheckpointCoordinatorConfiguration().getCheckpointInterval(); return checkpointInterval > 0 && checkpointInterval < Long.MAX_VALUE; } JobGraph(String jobName);  JobGraph(JobID jobId, String jobName);  JobGraph(JobVertex... vertices);  JobGraph(String jobName, JobVertex... vertices);  JobGraph(JobID jobId, String jobName, JobVertex... vertices); JobID getJobID(); String getName(); Configuration getJobConfiguration(); SerializedValue<ExecutionConfig> getSerializedExecutionConfig(); long getSessionTimeout(); void setSessionTimeout(long sessionTimeout); void setAllowQueuedScheduling(boolean allowQueuedScheduling); boolean getAllowQueuedScheduling(); void setScheduleMode(ScheduleMode scheduleMode); ScheduleMode getScheduleMode(); void setSavepointRestoreSettings(SavepointRestoreSettings settings); SavepointRestoreSettings getSavepointRestoreSettings(); void setExecutionConfig(ExecutionConfig executionConfig); void addVertex(JobVertex vertex); Iterable<JobVertex> getVertices(); JobVertex[] getVerticesAsArray(); int getNumberOfVertices(); void setSnapshotSettings(JobCheckpointingSettings settings); JobCheckpointingSettings getCheckpointingSettings(); boolean isCheckpointingEnabled(); JobVertex findVertexByID(JobVertexID id); void setClasspaths(List<URL> paths); List<URL> getClasspaths(); int getMaximumParallelism(); List<JobVertex> getVerticesSortedTopologicallyFromSources(); void addJar(Path jar); List<Path> getUserJars(); void addUserArtifact(String name, DistributedCache.DistributedCacheEntry file); Map<String, DistributedCache.DistributedCacheEntry> getUserArtifacts(); void addUserJarBlobKey(PermanentBlobKey key); boolean hasUsercodeJarFiles(); List<PermanentBlobKey> getUserJarBlobKeys(); @Override String toString(); void setUserArtifactBlobKey(String entryName, PermanentBlobKey blobKey); void writeUserArtifactEntriesToConfiguration(); }
JobGraph implements Serializable { public boolean isCheckpointingEnabled() { if (snapshotSettings == null) { return false; } long checkpointInterval = snapshotSettings.getCheckpointCoordinatorConfiguration().getCheckpointInterval(); return checkpointInterval > 0 && checkpointInterval < Long.MAX_VALUE; } JobGraph(String jobName);  JobGraph(JobID jobId, String jobName);  JobGraph(JobVertex... vertices);  JobGraph(String jobName, JobVertex... vertices);  JobGraph(JobID jobId, String jobName, JobVertex... vertices); JobID getJobID(); String getName(); Configuration getJobConfiguration(); SerializedValue<ExecutionConfig> getSerializedExecutionConfig(); long getSessionTimeout(); void setSessionTimeout(long sessionTimeout); void setAllowQueuedScheduling(boolean allowQueuedScheduling); boolean getAllowQueuedScheduling(); void setScheduleMode(ScheduleMode scheduleMode); ScheduleMode getScheduleMode(); void setSavepointRestoreSettings(SavepointRestoreSettings settings); SavepointRestoreSettings getSavepointRestoreSettings(); void setExecutionConfig(ExecutionConfig executionConfig); void addVertex(JobVertex vertex); Iterable<JobVertex> getVertices(); JobVertex[] getVerticesAsArray(); int getNumberOfVertices(); void setSnapshotSettings(JobCheckpointingSettings settings); JobCheckpointingSettings getCheckpointingSettings(); boolean isCheckpointingEnabled(); JobVertex findVertexByID(JobVertexID id); void setClasspaths(List<URL> paths); List<URL> getClasspaths(); int getMaximumParallelism(); List<JobVertex> getVerticesSortedTopologicallyFromSources(); void addJar(Path jar); List<Path> getUserJars(); void addUserArtifact(String name, DistributedCache.DistributedCacheEntry file); Map<String, DistributedCache.DistributedCacheEntry> getUserArtifacts(); void addUserJarBlobKey(PermanentBlobKey key); boolean hasUsercodeJarFiles(); List<PermanentBlobKey> getUserJarBlobKeys(); @Override String toString(); void setUserArtifactBlobKey(String entryName, PermanentBlobKey blobKey); void writeUserArtifactEntriesToConfiguration();  }