[
https://issues.apache.org/jira/browse/FLINK-26354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497505#comment-17497505
]
Dawid Wysakowicz edited comment on FLINK-26354 at 2/24/22, 4:08 PM:
--------------------------------------------------------------------
Having the above in mind. I am afraid we can not have -restoreMode as
--restoreMode. Currently, it is actually treated as the "short" version which
is not optional in commons-cli. Only the long option is optional. The long
option is prepended with "--". Any suggestions on how to proceed [~knaufk]?
was (Author: dawidwys):
Having the above in mind. I am afraid we can not have {{-restoreMode}} as
{{--restoreMode}}. Currently, it is actually treated as the "short" version
which is not optional in commons-cli. Only the long option is optional. The
long option is prepended with "--". Any suggestions on how to proceed [~knaufk]?
> "-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)