Skip to content

Commit

Permalink
[FLINK-2354] [runtime] Add job graph and checkpoint recovery
Browse files Browse the repository at this point in the history
This closes apache#1153.
  • Loading branch information
uce authored and tillrohrmann committed Oct 16, 2015
1 parent 538dc63 commit 44beea2
Show file tree
Hide file tree
Showing 72 changed files with 7,717 additions and 737 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,12 @@ public final class ConfigConstants {
* Directory for saving streaming checkpoints
*/
public static final String STATE_BACKEND_FS_DIR = "state.backend.fs.checkpointdir";

/**
* File system state backend base path for recoverable state handles. Recovery state is written
* to this path and the file state handles are persisted for recovery.
*/
public static final String STATE_BACKEND_FS_RECOVERY_PATH = "state.backend.fs.dir.recovery";

// ----------------------------- Miscellaneous ----------------------------

Expand Down Expand Up @@ -446,6 +452,15 @@ public final class ConfigConstants {

public static final String ZOOKEEPER_LEADER_PATH = "ha.zookeeper.dir.leader";

/** ZooKeeper root path (ZNode) for job graphs. */
public static final String ZOOKEEPER_JOBGRAPHS_PATH = "ha.zookeeper.dir.jobgraphs";

/** ZooKeeper root path (ZNode) for completed checkpoints. */
public static final String ZOOKEEPER_CHECKPOINTS_PATH = "ha.zookeeper.dir.checkpoints";

/** ZooKeeper root path (ZNode) for checkpoint counters. */
public static final String ZOOKEEPER_CHECKPOINT_COUNTER_PATH = "ha.zookeeper.dir.checkpoint-counter";

public static final String ZOOKEEPER_SESSION_TIMEOUT = "ha.zookeeper.client.session-timeout";

public static final String ZOOKEEPER_CONNECTION_TIMEOUT = "ha.zookeeper.client.connection-timeout";
Expand Down Expand Up @@ -712,6 +727,12 @@ public final class ConfigConstants {

public static final String DEFAULT_ZOOKEEPER_LEADER_PATH = "/leader";

public static final String DEFAULT_ZOOKEEPER_JOBGRAPHS_PATH = "/jobgraphs";

public static final String DEFAULT_ZOOKEEPER_CHECKPOINTS_PATH = "/checkpoints";

public static final String DEFAULT_ZOOKEEPER_CHECKPOINT_COUNTER_PATH = "/checkpoint-counter";

public static final int DEFAULT_ZOOKEEPER_SESSION_TIMEOUT = 60000;

public static final int DEFAULT_ZOOKEEPER_CONNECTION_TIMEOUT = 15000;
Expand Down

0 comments on commit 44beea2

Please sign in to comment.