[
https://issues.apache.org/jira/browse/FLINK-26354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497878#comment-17497878
]
Yun Tang commented on FLINK-26354:
----------------------------------
Since the latest version of commons-cli is 1.5.0, which is what we already used
in Flink. And it must have a short option key while the long option key could
be optional. And FLINK-22701 actually suffers from this problem due to short
option key conflicts. Maybe we could change the dependent library in
Flink-1.16. For current solution, I prefer [~knaufk]'s idea, maybe we could
introduce the short option key such 'rm' for the long option key 'restoreMode'.
> "-restoreMode" should be "--restoreMode" and should have a shorthand
> --------------------------------------------------------------------
>
> Key: FLINK-26354
> URL: https://issues.apache.org/jira/browse/FLINK-26354
> Project: Flink
> Issue Type: Bug
> Components: Command Line Client
> Affects Versions: 1.15.0
> Reporter: Konstantin Knauf
> Priority: Minor
>
> {code:java}
> -restoreMode <arg> Defines how should we restore
> from the given savepoint.
> Supported options: [claim -
> claim ownership of the
> savepoint
> and delete once it is
> subsumed,
> no_claim (default) - do not
> claim ownership, the first
> checkpoint will not reuse any
> files from the restored one,
> legacy - the old behaviour, do
> not assume ownership of the
> savepoint files, but can reuse
> some shared files.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)