You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by uc...@apache.org on 2017/02/06 16:16:45 UTC
flink git commit: [docs] Fix typo in code snippet
Repository: flink
Updated Branches:
refs/heads/release-1.2 13753e55a -> cb04abeed
[docs] Fix typo in code snippet
* fix typo in code snippet CheckpoingConfig -> CheckpointConfig
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/cb04abee
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/cb04abee
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/cb04abee
Branch: refs/heads/release-1.2
Commit: cb04abeedaebb332ced1b479bde221eacb516e73
Parents: 13753e5
Author: Kathleen Sharp <ka...@signavio.com>
Authored: Thu Feb 2 10:08:48 2017 +0100
Committer: Ufuk Celebi <uc...@apache.org>
Committed: Mon Feb 6 17:16:31 2017 +0100
----------------------------------------------------------------------
docs/setup/checkpoints.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/cb04abee/docs/setup/checkpoints.md
----------------------------------------------------------------------
diff --git a/docs/setup/checkpoints.md b/docs/setup/checkpoints.md
index ea2f406..65d14b7 100644
--- a/docs/setup/checkpoints.md
+++ b/docs/setup/checkpoints.md
@@ -36,7 +36,7 @@ TBD
You can configure periodic checkpoints to be persisted externally. Externalized checkpoints write their meta data out to persistent storage and are *not* automatically cleaned up when the job fails. This way, you will have a checkpoint around to resume from if your job fails.
```java
-CheckpoingConfig config = env.getCheckpointConfig();
+CheckpointConfig config = env.getCheckpointConfig();
config.enableExternalizedCheckpoints(ExternalizedCheckpointCleanup.RETAIN_ON_CANCELLATION);
```