You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "gxl191911 (via GitHub)" <gi...@apache.org> on 2023/04/03 08:57:15 UTC

[GitHub] [incubator-streampark] gxl191911 opened a new issue, #2560: savepoint time over 1min, then cacel job field

gxl191911 opened a new issue, #2560:
URL: https://github.com/apache/incubator-streampark/issues/2560

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### Java Version
   
   openjdk11
   
   ### Scala Version
   
   2.12.x
   
   ### StreamPark Version
   
   v2.0.0
   
   ### Flink Version
   
   1.14.2
   
   ### deploy mode
   
   kubernetes-session
   
   ### What happened
   
   When canceling the job through the streampark ui, select the savepoint, and then throw a timeout exception.
   
   From the streampark ui, you can see that the status of the job is field. After a while, when the real savepoint of the flink job succeeds, the status on the ui changes to canceld again.
   
   This will cause the job to fail to resume from the latest saved savepoint
   
   ### Error Exception
   
   ```log
   java.util.concurrent.CompletionException: java.lang.reflect.InvocationTargetException
   	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
   	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
   	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   	at java.base/java.lang.Thread.run(Thread.java:834)
   Caused by: java.lang.reflect.InvocationTargetException
   	at jdk.internal.reflect.GeneratedMethodAccessor963.invoke(Unknown Source)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   	at org.apache.streampark.flink.client.FlinkClient$.$anonfun$cancel$1(FlinkClient.scala:73)
   	at org.apache.streampark.flink.proxy.FlinkShimsProxy$.$anonfun$proxy$1(FlinkShimsProxy.scala:63)
   	at org.apache.streampark.common.util.ClassLoaderUtils$.runAsClassLoader(ClassLoaderUtils.scala:40)
   	at org.apache.streampark.flink.proxy.FlinkShimsProxy$.proxy(FlinkShimsProxy.scala:63)
   	at org.apache.streampark.flink.client.FlinkClient$.cancel(FlinkClient.scala:68)
   	at org.apache.streampark.flink.client.FlinkClient.cancel(FlinkClient.scala)
   	at org.apache.streampark.console.core.service.impl.ApplicationServiceImpl.lambda$cancel$6(ApplicationServiceImpl.java:1235)
   	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
   	... 3 more
   Caused by: java.util.concurrent.TimeoutException
   	at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
   	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
   	at org.apache.streampark.flink.client.trait.FlinkSubmitTrait.cancelJob(FlinkSubmitTrait.scala:482)
   	at org.apache.streampark.flink.client.trait.FlinkSubmitTrait.cancelJob$(FlinkSubmitTrait.scala:451)
   	at org.apache.streampark.flink.client.impl.KubernetesNativeSessionSubmit$.org$apache$streampark$flink$client$trait$KubernetesNativeSubmitTrait$$super$cancelJob(KubernetesNativeSessionSubmit.scala:48)
   	at org.apache.streampark.flink.client.trait.KubernetesNativeSubmitTrait.doCancel(KubernetesNativeSubmitTrait.scala:99)
   	at org.apache.streampark.flink.client.trait.KubernetesNativeSubmitTrait.doCancel$(KubernetesNativeSubmitTrait.scala:82)
   	at org.apache.streampark.flink.client.impl.KubernetesNativeSessionSubmit$.doCancel(KubernetesNativeSessionSubmit.scala:121)
   	at org.apache.streampark.flink.client.trait.FlinkSubmitTrait.cancel(FlinkSubmitTrait.scala:159)
   	at org.apache.streampark.flink.client.trait.FlinkSubmitTrait.cancel$(FlinkSubmitTrait.scala:143)
   	at org.apache.streampark.flink.client.impl.KubernetesNativeSessionSubmit$.cancel(KubernetesNativeSessionSubmit.scala:48)
   	at org.apache.streampark.flink.client.FlinkClientHandler$.cancel(FlinkClientHandler.scala:46)
   	at org.apache.streampark.flink.client.FlinkClientHandler.cancel(FlinkClientHandler.scala)
   	... 14 more
   ```
   
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!(您是否要贡献这个PR?)
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-streampark] wolfboys closed issue #2560: [Bug] savepoint time over 1min, then cacel job field

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #2560: [Bug] savepoint time over 1min, then cacel job field
URL: https://github.com/apache/incubator-streampark/issues/2560


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org