You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Congxian Qiu(klion26) (Jira)" <ji...@apache.org> on 2020/05/08 08:06:00 UTC

[jira] [Updated] (FLINK-17571) A better way to show the files used in currently checkpoints

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

Congxian Qiu(klion26) updated FLINK-17571:
------------------------------------------
    Description: 
Inspired by the [[user mail|[http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Shared-Checkpoint-Cleanup-and-S3-Lifecycle-Policy-tt34965.html]]]

Currently, there are three types of directory for a checkpoint, the files in TASKOWND and EXCLUSIVE directory can be deleted safely, but users can't delete the files in the SHARED directory safely(the files may be created a long time ago).

I think it's better to give users a better way to know which files are currently used(so the others are not used)

maybe a command-line command such as below is ok enough to support such a feature.

{{./bin/flink checkpoint list $checkpointDir  # list all the files used in checkpoint}}

  was:
Inspired by the [user mail]([http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Shared-Checkpoint-Cleanup-and-S3-Lifecycle-Policy-tt34965.html]).

Currently, there are three types of directory for a checkpoint, the files in TASKOWND and EXCLUSIVE directory can be deleted safely, but users can't delete the files in the SHARED directory safely(the files may be created a long time ago).

I think it's better to give users a better way to know which files are currently used(so the others are not used)

maybe a command-line command such as below is ok enough to support such a feature.

{{./bin/flink checkpoint list $checkpointDir  # list all the files used in checkpoint}}


> A better way to show the files used in currently checkpoints
> ------------------------------------------------------------
>
>                 Key: FLINK-17571
>                 URL: https://issues.apache.org/jira/browse/FLINK-17571
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / Checkpointing
>            Reporter: Congxian Qiu(klion26)
>            Priority: Major
>
> Inspired by the [[user mail|[http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Shared-Checkpoint-Cleanup-and-S3-Lifecycle-Policy-tt34965.html]]]
> Currently, there are three types of directory for a checkpoint, the files in TASKOWND and EXCLUSIVE directory can be deleted safely, but users can't delete the files in the SHARED directory safely(the files may be created a long time ago).
> I think it's better to give users a better way to know which files are currently used(so the others are not used)
> maybe a command-line command such as below is ok enough to support such a feature.
> {{./bin/flink checkpoint list $checkpointDir  # list all the files used in checkpoint}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)