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

Jinliang Guo edited comment on FLINK-22701 at 5/20/21, 4:32 PM:
----------------------------------------------------------------

This is the real command:
{code:java}
bin/flink savepoint -d 
hdfs://usprz17-amp-dev/group/amp_commerce_hadoop/fraud/goodwater/savepoint/2021-05-18-20-15/savepoint-000000-609bced77188{code}


was (Author: jinliangguo):
This is the real command:
bin/flink savepoint -d 
[hdfs://usprz17-amp-dev/group/amp_commerce_hadoop/fraud/goodwater/savepoint/2021-05-18-20-15/savepoint-000000-609bced77188]

> "bin/flink savepoint -d :savepointpath" cannot locate savepointpath arg
> -----------------------------------------------------------------------
>
>                 Key: FLINK-22701
>                 URL: https://issues.apache.org/jira/browse/FLINK-22701
>             Project: Flink
>          Issue Type: Bug
>          Components: Command Line Client
>    Affects Versions: 1.12.2
>         Environment: Kubernetes standalone cluster
>            Reporter: Jinliang Guo
>            Priority: Major
>
> Hi there,
>  
> When I use "bin/flink savepoint -d :savepointpath" to dispose a savepoint, 
> got following exceptions:
> The program finished with the following 
> exception:java.lang.NullPointerException: Missing required argument: 
> savepoint path. Usage: bin/flink savepoint -d <savepoint-path>
>       at 
> org.apache.flink.util.Preconditions.checkNotNull(Preconditions.java:76)
>       at 
> org.apache.flink.client.cli.CliFrontend.disposeSavepoint(CliFrontend.java:785)
>       at 
> org.apache.flink.client.cli.CliFrontend.lambda$savepoint$8(CliFrontend.java:723)
>       at 
> org.apache.flink.client.cli.CliFrontend.runClusterAction(CliFrontend.java:1002)
>       at 
> org.apache.flink.client.cli.CliFrontend.savepoint(CliFrontend.java:719)
>       at 
> org.apache.flink.client.cli.CliFrontend.parseAndRun(CliFrontend.java:1072)
>       at 
> org.apache.flink.client.cli.CliFrontend.lambda$main$10(CliFrontend.java:1132)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1807)
>       at 
> org.apache.flink.runtime.security.contexts.HadoopSecurityContext.runSecured(HadoopSecurityContext.java:41)
>       at org.apache.flink.client.cli.CliFrontend.main(CliFrontend.java:1132)
> However, if I use "bin/flink savepoint -dispose :savepointpath", it works 
> good.



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

Reply via email to