You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Hangxiang Yu (Jira)" <ji...@apache.org> on 2023/09/07 08:34:00 UTC

[jira] [Commented] (FLINK-33057) Add options to disable creating job-id subdirectories under the checkpoint directory

    [ https://issues.apache.org/jira/browse/FLINK-33057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762627#comment-17762627 ] 

Hangxiang Yu commented on FLINK-33057:
--------------------------------------

Thanks for picking this up.

+1 for introducing such an option.

> Add options to disable creating job-id subdirectories under the checkpoint directory
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-33057
>                 URL: https://issues.apache.org/jira/browse/FLINK-33057
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Checkpointing
>    Affects Versions: 1.19.0
>            Reporter: Zakelly Lan
>            Assignee: Zakelly Lan
>            Priority: Major
>
> By default, Flink creates subdirectories named by UUID (job id) under checkpoint directory for each job. It's a good means to avoid collision. However, it also bring in some effort to remember/find the right directory when recovering from previous checkpoint. According to previous discussion ([Yun Tang's|https://issues.apache.org/jira/browse/FLINK-11789?focusedCommentId=16782314&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16782314] and [Stephan Ewen's|https://issues.apache.org/jira/browse/FLINK-9043?focusedCommentId=16409254&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16409254] ), I think it would be useful to add an option to disable creating the UUID subdirectories under the checkpoint directory. For compatibility considerations, we create the subdirectories by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)