You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by zentol <gi...@git.apache.org> on 2018/05/02 17:05:31 UTC

[GitHub] flink pull request #5928: [hotfix][doc] fix doc of externalized checkpoint

Github user zentol commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5928#discussion_r185568867
  
    --- Diff: docs/ops/state/checkpoints.md ---
    @@ -60,25 +60,29 @@ The `ExternalizedCheckpointCleanup` mode configures what happens with externaliz
     
     Similarly to [savepoints](savepoints.html), an externalized checkpoint consists
     of a meta data file and, depending on the state back-end, some additional data
    -files. The **target directory** for the externalized checkpoint's meta data is
    -determined from the configuration key `state.checkpoints.dir` which, currently,
    -can only be set via the configuration files.
    +files. The externalized checkpoint's meta data is stored in the same directory 
    +as data files. So the **target directory** can be set via configuration key 
    +`state.checkpoints.dir` in the configuration files, and also can be specified 
    +for per job in the code.
     
    +- Configure globally via configuration files
     ```
     state.checkpoints.dir: hdfs:///checkpoints/
     ```
     
    +- Configure for per job via code 
    +```java
    --- End diff --
    
    please use `{% highlight java %}` syntax instead


---