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

Bowen Li updated FLINK-7566:
----------------------------
    Summary: if there's only one checkpointing metadata file in <dir>, `flink 
run -s <dir>` should successfully resume from that metadata file   (was: if 
there's only one checkpointing metadata file in <dir>, `flink run -s <dir>` 
should resume from that metadata file )

> if there's only one checkpointing metadata file in <dir>, `flink run -s 
> <dir>` should successfully resume from that metadata file 
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-7566
>                 URL: https://issues.apache.org/jira/browse/FLINK-7566
>             Project: Flink
>          Issue Type: Improvement
>          Components: Startup Shell Scripts
>    Affects Versions: 1.3.2
>            Reporter: Bowen Li
>            Assignee: Bowen Li
>             Fix For: 1.4.0
>
>
> Currently, if we want to start a Flink job from a checkpointing file, we have 
> to run `flink run -s <dir>/checkpoint_metadata-xxxxx` by explicitly 
> specifying the checkpoint metadata file name 'checkpoint_metadata-xxxxx'. 
> Since metadata file name always changes, it's not easy to programmatically 
> restart a failed Flink job.
> What I want is like this: users should be able to start a Flink job by 
> running `flink run -s <dir>` if there's only one checkpointing metadata file 
> in <dir>. If there's none or more than 1 metadata file, the command can fail 
> like it is right now. This way, we can programmatically restart a failed 
> Flink job by hardcoding <dir>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to