ververica / ververica-platform-playground

Instructions for getting started with Ververica Platform on minikube.
https://docs.ververica.com/getting_started/index.html
Apache License 2.0
89 stars 39 forks source link

An error when I try to upload a jar #78

Open neighborBoy0 opened 2 years ago

neighborBoy0 commented 2 years ago

Hello all, I wanna upload a jar to the platform, but there was an unknown error, anybody has the same problem?

image

the log of container gateway:

` 2022-01-29 02:40:23.455 ERROR 1 --- [-8080-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.amazonaws.SdkClientException: Unable to execute HTTP request: minio.vvp.svc] with root cause

java.net.UnknownHostException: minio.vvp.svc at java.base/java.net.InetAddress$CachedAddresses.get(Unknown Source) ~[na:na] at java.base/java.net.InetAddress.getAllByName0(Unknown Source) ~[na:na] at java.base/java.net.InetAddress.getAllByName(Unknown Source) ~[na:na] at java.base/java.net.InetAddress.getAllByName(Unknown Source) ~[na:na] at com.amazonaws.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:27) ~[aws-java-sdk-core-1.11.951.jar:na] at com.amazonaws.http.DelegatingDnsResolver.resolve(DelegatingDnsResolver.java:38) ~[aws-java-sdk-core-1.11.951.jar:na] at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112) ~[httpclient-4.5.13.jar:4.5.13] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13] at jdk.internal.reflect.GeneratedMethodAccessor161.invoke(Unknown Source) ~[na:na] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na] at com.amazonaws.http.conn.ClientConnectionManagerFactory$Handler.invoke(ClientConnectionManagerFactory.java:76) ~[aws-java-sdk-core-1.11.951.jar:na] at com.amazonaws.http.conn.$Proxy161.connect(Unknown Source) ~[na:na] `

knaufk commented 2 years ago

Looks like minio was not installed succesfully. Can you check what pods are running in the vvp namespace and if those are up running and ready?

kubect get pods -n vvp

neighborBoy0 commented 2 years ago

# kubectl get pods -n vvp NAME READY STATUS RESTARTS AGE minio-544cbd598b-6fpmr 1/1 Running 0 108m vvp-ververica-platform-f9bbdf46b-82556 3/3 Running 0 102m it seems be installed successfully.

There are four machines: my desktop: macOS 10.110.42.150 and the Kubernetes cluster was installed on 10.110.77.141(master), 10.110.77.140(the node minio deployed) and 10.110.77.139(the node ververica deployed) so I create a new service to expose ververica to my desktop, just like this:

# kubectl get services -n vvp NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE minio ClusterIP 172.16.78.218 <none> 9000/TCP 107m ververica NodePort 172.16.115.54 <none> 8080:31110/TCP 25m vvp-ververica-platform ClusterIP 172.16.43.32 <none> 80/TCP 101m

is that because the new service?