Re: 404 Jar File Not Found w/ Web Submit Disabled

2023-08-18 Thread patricia lee
Hi Jiadong, Thanks for the feedback. Our team has decided to just upload jar files via CLI. Thanks Regards Patricia On Thu, Aug 17, 2023, 11:52 PM jiadong.lu wrote: > Hi Patricia > Sorry for giving wrong advice. I tried the url path of "/v1/jar/upload" > and it did respond the same 404. Fo

Re: 404 Jar File Not Found w/ Web Submit Disabled

2023-08-17 Thread jiadong.lu
Hi Patricia Sorry for giving wrong advice. I tried the url path of "/v1/jar/upload" and it did respond the same 404. For now, we may sure that '/jar/upload' cannot work with the configuration of `web.ui.submit=false` . If you really need to disable `web.ui.submit`configuration, maybe you shou

Re: 404 Jar File Not Found w/ Web Submit Disabled

2023-08-17 Thread jiadong.lu
Hi Patricia Have you tried the url path of '/v1/jars/upload' ? Best Jiadong Lu On 2023/8/16 14:00, patricia lee wrote: Hi, Below are the steps that I take to replicate the issue. I have a requirement to disable both the capability to run and submit jobs in Flink Web UI and Rest Endpoint. I

Re: 404 Jar File Not Found w/ Web Submit Disabled

2023-08-15 Thread jiadong.lu
Hi, Patricia Maybe you should check the code carefully, a reply code of 404 typically indicates that an error occured in client side.Alternatively,could you share a snippet code where the error occured? This would greatly assist us in addressing your issue effectively. Best Jiadong Lu On 20

Re: 404 Jar File Not Found w/ Web Submit Disabled

2023-08-14 Thread Shammon FY
Hi, Currently you can upload a jar job to a flink session cluster, or submit a job graph to the session cluster with rest api, for example, submit sql jobs with jdbc driver to sql-gateway, then the gateway will build job graph and submit it to the session cluster via rest endpoint. If you configu

Re: 404 Jar File Not Found w/ Web Submit Disabled

2023-08-14 Thread patricia lee
Hi, Just to add, when I set back to "true" the web.ui submit property, that is when the rest endpoint /jars/upload worked again. But in the documentation reference: https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/ Disabling the UI doesnt disable the endpoint. Is this