[ https://issues.apache.org/jira/browse/FLINK-25296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467258#comment-17467258 ]
Piotr Nowojski edited comment on FLINK-25296 at 12/31/21, 2:15 PM: ------------------------------------------------------------------- Hi [~libra_816]. What do you mean by {{-Dstate.cache.num-retained}}? I couldn't find such property/option defined/documented anywhere. Am I missing something? Did you mean adding {{-Dstate.checkpoints.num-retained}}? If so, I'm also not sure where are you passing such property, because as far as I know Flink only supports passing configuration options via {{flink-conf.yaml}} file (please check [the docs|https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/deployment/config/]), or via {{FLINK_PROPERTIES}} on docker-based deployments. Or maybe I am missing something? Also for the future, I would suggest reaching out via user mailing list with questions like that first: https://flink.apache.org/community.html#mailing-lists It usually offers faster response times. was (Author: pnowojski): Hi [~libra_816]. What do you mean by {{-Dstate.cache.num-retained}}? I couldn't find such property/option defined/documented anywhere. Am I missing something? Did you mean adding {{-Dstate.checkpoints.num-retained}}? If so, I'm also not sure where are you passing such property, because as far as I know Flink only supports passing configuration options via {{flink-conf.yaml}} file (please check [the docs|https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/deployment/config/]), or via {{FLINK_PROPERTIES}} on docker-based deployments. Also for the future, I would suggest reaching out via user mailing list with questions like that first: https://flink.apache.org/community.html#mailing-lists It usually offers faster response times. > [state.checkpoints.num-retained ]The default value does not take effect > ----------------------------------------------------------------------- > > Key: FLINK-25296 > URL: https://issues.apache.org/jira/browse/FLINK-25296 > Project: Flink > Issue Type: Bug > Components: Runtime / Checkpointing, Runtime / Coordination > Affects Versions: 1.13.3 > Reporter: chenqizhu > Priority: Major > > The configration is valid only when I add -Dstate.cache. num-retained=n. > If I do not specify this configuration, the default value does not take > effect , is it a bug ? -- This message was sent by Atlassian Jira (v8.20.1#820001)