Hi all, I'm trying to use Flink's REST API to perf...
# troubleshooting
g
Hi all, I'm trying to use Flink's REST API to perform some of the maintenance operations (submit a job, cancel a job). Should we have ingress enabled in order for us to call the REST API? I'm getting a
java.net.UnknownHostException
when I try the REST API. The same job manager endpoint works when I try with the flink client
flink run
way of submitting a job or cancelling a job. Any pointers on how to use these REST API? The base URL I have is made using the k8s service details:
k8s_namespace.k8s_service_name.svc.cluster.local:8081
To cancel, I do a PATCH on :
k8s_namespace.k8s_service_name.svc.cluster.local:8081/jobs/jobID
- this is where I get the
java.net.UnknownHostException