You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "buptljy (JIRA)" <ji...@apache.org> on 2018/08/23 08:24:00 UTC

[jira] [Updated] (FLINK-10202) Enable configuration for state.checkpoint.dir in environment

     [ https://issues.apache.org/jira/browse/FLINK-10202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

buptljy updated FLINK-10202:
----------------------------
    Summary: Enable configuration for state.checkpoint.dir in environment  (was: Enable configuration for state.checkpoint.dir with environment)

> Enable configuration for state.checkpoint.dir in environment
> ------------------------------------------------------------
>
>                 Key: FLINK-10202
>                 URL: https://issues.apache.org/jira/browse/FLINK-10202
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: buptljy
>            Priority: Major
>
> Usually we can set state.checkpoint.dir in flink-conf.yaml, but sometimes we run a flink job locally, and we're not able to set state.checkpoint.dir, which will cause 
> {code:java}
> throw new IllegalStateException("CheckpointConfig says to persist periodic " +
>       "checkpoints, but no checkpoint directory has been configured. You can " +
>       "configure configure one via key '" + ConfigConstants.CHECKPOINTS_DIRECTORY_KEY + "'.");
> {code}
> I wonder if we could provide a public method in *StreamExecutionEnvironment* so that developers can use it to set state.checkpoint.dir for job.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)