Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] when choose the Rest-Service Exposed Type with the value of 'ClusterIP' , the job status could not show correctlly. #2193

Open
3 tasks done
green241 opened this issue Dec 27, 2022 · 0 comments

Comments

@green241
Copy link
Contributor

green241 commented Dec 27, 2022

Search before asking

  • I had searched with the issues and found no similar issues.

What happened

when I started a flink job in kubernetes-applicatin mode, it had shown the problem which was 'ERROR | ForkJoinPool-2-worker-2 | org.apache.streampark.flink.kubernetes.KubernetesRetriever:71] [StreamPark] Get flinkClient error, the error is: java.lang.RuntimeException: org.apache.flink.client.deployment.ClusterRetrieveException: Could not create the RestClusterClient.' .

  1. Rest-Service Exposed Type : ClusterIP
    image

  2. The task status is always 'INITIALIZING'
    image

  3. Actually, The flink Cluster had been created successfully in on k8s
    image

StreamPark Version

dev-2.0.0

Java Version

1.8.0_181

Flink Version

1.14.3

Scala Version of Flink

2.12

Error Exception

Refer the 'What happened' module.

Screenshots

image

however, when I choose the 'NodePort', the same task could be started successfully as following:
image
image
image

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@green241 green241 changed the title [Bug] [StreamPark] Get flinkClient error, the error is: java.lang.RuntimeException: org.apache.flink.client.deployment.ClusterRetrieveException: Could not create the RestClusterClient. [Bug] when choose the Rest-Service Exposed Type with the value of 'ClusterIP' , the job status could not show correctlly. Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant