pikachu011 opened a new issue, #4250:
URL: https://github.com/apache/streampark/issues/4250

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### Java Version
   
   jdk 1.8
   
   ### Scala Version
   
   2.11.x
   
   ### StreamPark Version
   
   2.1.5
   
   ### Flink Version
   
   flink version: 1.20.1
   
   ### Deploy mode
   
   None
   
   ### What happened
   
   
   The task added and executed on the StreamPark console page is deployed in 
standalone mode, with no issues with Flink SQL. The execution error message is 
as follows:
   
   
   ### Error Exception
   
   ```log
   java.util.concurrent.CompletionException: 
java.lang.reflect.InvocationTargetException
        at 
java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
        at 
java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
        at 
java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)
   Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.streampark.flink.client.FlinkClient$.$anonfun$proxy$1(FlinkClient.scala:87)
        at 
org.apache.streampark.flink.proxy.FlinkShimsProxy$.$anonfun$proxy$1(FlinkShimsProxy.scala:60)
        at 
org.apache.streampark.common.util.ClassLoaderUtils$.runAsClassLoader(ClassLoaderUtils.scala:38)
        at 
org.apache.streampark.flink.proxy.FlinkShimsProxy$.proxy(FlinkShimsProxy.scala:60)
        at 
org.apache.streampark.flink.client.FlinkClient$.proxy(FlinkClient.scala:82)
        at 
org.apache.streampark.flink.client.FlinkClient$.submit(FlinkClient.scala:53)
        at 
org.apache.streampark.flink.client.FlinkClient.submit(FlinkClient.scala)
        at 
org.apache.streampark.console.core.service.impl.ApplicationServiceImpl.lambda$start$8(ApplicationServiceImpl.java:1685)
        at 
java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
        ... 3 more
   Caused by: java.lang.NoClassDefFoundError: Could not initialize class 
org.apache.streampark.flink.kubernetes.KubernetesRetriever$
        at 
org.apache.streampark.flink.client.tool.FlinkSessionSubmitHelper$.submitViaRestApi(FlinkSessionClientHelper.scala:62)
        at 
org.apache.streampark.flink.client.impl.RemoteClient$.restApiSubmit(RemoteClient.scala:124)
        at 
org.apache.streampark.flink.client.impl.RemoteClient$.$anonfun$doSubmit$2(RemoteClient.scala:49)
        at 
org.apache.streampark.flink.client.trait.FlinkClientTrait.$anonfun$trySubmit$3(FlinkClientTrait.scala:216)
        at scala.util.Try$.apply(Try.scala:209)
        at 
org.apache.streampark.flink.client.trait.FlinkClientTrait.trySubmit(FlinkClientTrait.scala:216)
        at 
org.apache.streampark.flink.client.trait.FlinkClientTrait.trySubmit$(FlinkClientTrait.scala:207)
        at 
org.apache.streampark.flink.client.impl.RemoteClient$.doSubmit(RemoteClient.scala:49)
        at 
org.apache.streampark.flink.client.trait.FlinkClientTrait.$anonfun$submit$4(FlinkClientTrait.scala:83)
        at scala.util.Try$.apply(Try.scala:209)
        at 
org.apache.streampark.flink.client.trait.FlinkClientTrait.submit(FlinkClientTrait.scala:83)
        at 
org.apache.streampark.flink.client.trait.FlinkClientTrait.submit$(FlinkClientTrait.scala:58)
        at 
org.apache.streampark.flink.client.impl.RemoteClient$.submit(RemoteClient.scala:34)
        at 
org.apache.streampark.flink.client.FlinkClientEntrypoint$.submit(FlinkClientEntrypoint.scala:40)
        at 
org.apache.streampark.flink.client.FlinkClientEntrypoint.submit(FlinkClientEntrypoint.scala)
        ... 16 more
   ```
   
   ### Screenshots
   
   <img width="1167" alt="Image" 
src="https://github.com/user-attachments/assets/9250133d-414d-4d9b-ab7a-dd042afbaf0b";
 />
   
   <img width="1184" alt="Image" 
src="https://github.com/user-attachments/assets/7db10ea1-9637-496d-a310-25d0266f47d1";
 />
   
   ### Are you willing to submit PR?
   
   - [x] 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to