Is there a way to limit the amount of checkpoint file? The parameter that I set : state.checkpoints.num-retained: 5 does not seem to have any effect. Is there anything else I can set to prevent infinite growth of checkpointing info? |
Hi Boris For the configure you gave, you can try to reduce the parallelism of the operator which contains states. Best, Congxian Boris Lublinsky <[hidden email]> 于2019年6月10日周一 下午9:43写道:
|
Hey Boris, I think the problem is that you are using externalized checkpoints: env.getCheckpointConfig.enableExternalizedCheckpoints(ExternalizedCheckpointCleanup.RETAIN_ON_CANCELLATION)Your checkpoints are retained in both failure and cancellation cases, so the checkpoint files with grow indefinitely On Wed, Jun 12, 2019 at 8:01 AM Congxian Qiu <[hidden email]> wrote:
|
So if you have externalized checkpoints, they are never purged?
The issue is that if your state size is rather large, this seems to be the only option.
|
Free forum by Nabble | Edit this page |