Hello Team,

I hope this email finds you well. I've been working on disabling job
submissions from the Flink UI, and I am facing an issue with the
configuration. Specifically, I've set web.submit.enable = false to achieve
this. However, it seems that this configuration change is preventing the
Flink Kubernetes Operator from submitting jobs to the JobManager.

According to the documentation, disabling the web.submit.enable flag should
still allow job submissions via REST APIs. However, when I disable the
flag, I'm encountering an error message that says *"[Not found:
/v1/jars/upload].*" (Also here I feel this "v1" is getting appended in path
somehow) Here's the corresponding log entry:

*Status | Error | UPGRADING |
{"type":"org.apache.flink.kubernetes.operator.exception.ReconciliationException","message":"java.util.concurrent.ExecutionException:
org.apache.flink.runtime.rest.util.RestClientException: [Not found:
/v1/jars/upload]","throwableList":[{"type":"org.apache.flink.runtime.rest.util.RestClientException","message":"[Not
found: /v1/jars/upload]","additionalMetadata":{"httpResponseCode":404}}]}*

I've also come across a Jira issue, FLINK-26808
<https://issues.apache.org/jira/browse/FLINK-26808?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel>,
which mentions that disabling web submission disables all handlers related
to web submission. This statement appears to contradict the information in
the Flink documentation.

Could you please provide some guidance or insights on how to correctly
configure Flink to disable UI job submissions while allowing submissions
via REST APIs? Any assistance on this matter would be greatly appreciated.

Thank you for your help.

Best regards, Muazim Wani

Reply via email to