You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/01/08 02:32:29 UTC

[GitHub] [incubator-dolphinscheduler] chengshiwen commented on issue #4397: [Question] 如何在设置flink 节点,任务重启的时候指定checkpoint目录

chengshiwen commented on issue #4397:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4397#issuecomment-756507417


   @wuzhjian 
   Under `yarn cluster` deploy mode, you can
   - set `-yD state.backend=filesystem -yD state.checkpoints.dir=hdfs://namenode:9000/flink/checkpoints -yD state.savepoints.dir=hdfs://namenode:9000/flink/savepoints` in `other parameters` (其它参数) to configure state options
   - trigger a savepoint manually by `flink savepoint <jobId> [savepointDirectory] -yid <yarnAppId>`
   - set `-s <savepointPath> -n` in `other parameters` to restore from the specific savepoint path
   
   In other deploy mode such as `local` and `session`, you can only set `state.backend`, `state.checkpoints.dir` and `state.savepoints.dir` in the configuration file `flink-conf.yaml`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org