You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Luís Manuel Azevedo Costa (Jira)" <ji...@apache.org> on 2022/03/22 16:13:00 UTC
[jira] [Updated] (FLINK-26808) [flink v1.14.2] Submit jobs via REST API not working after set web.submit.enable: false
[ https://issues.apache.org/jira/browse/FLINK-26808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luís Manuel Azevedo Costa updated FLINK-26808:
----------------------------------------------
Description:
Greetings,
I am using flink version 1.14.2 and after changing web.submit.enable to false, job submission via REST API is no longer working.
The app that uses flink receives a 404 with "Not found: /jars/upload"
Looking into [documentation|[https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/config/]] saw that web.upload.dir is only used if {{web.submit.enable}} is true, if not it will be used JOB_MANAGER_WEB_TMPDIR_KEY
Doing a curl to /jars it returns:
{code:java}
curl -v http://localhost:8081/jars
HTTP/1.1 404 Not Found
{"errors":["Unable to load requested file /jars."]} {code}
Found this issue related to option web.submit.enable https://issues.apache.org/jira/browse/FLINK-13799
Could you please let me know if this is an issue that you are already aware?
Thanks in advance
Best regards,
Luís Costa
was:
Greetings,
I am using flink version 1.14.2 and after changing web.submit.enable to false, job submission via REST API is no longer working.
The app that uses flink receives a 404 with "Not found: /jars/upload"
Looking into [documentation|[https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/config/],] saw that web.upload.dir is only used if {{web.submit.enable}} is true, if not it will be used JOB_MANAGER_WEB_TMPDIR_KEY
Doing a curl to /jars it returns:
{code:java}
curl -v http://localhost:8081/jars
HTTP/1.1 404 Not Found
{"errors":["Unable to load requested file /jars."]} {code}
Found this issue related to option web.submit.enable https://issues.apache.org/jira/browse/FLINK-13799
Could you please let me know if this is an issue that you are already aware?
Thanks in advance
Best regards,
Luís Costa
> [flink v1.14.2] Submit jobs via REST API not working after set web.submit.enable: false
> ---------------------------------------------------------------------------------------
>
> Key: FLINK-26808
> URL: https://issues.apache.org/jira/browse/FLINK-26808
> Project: Flink
> Issue Type: Bug
> Components: Client / Job Submission
> Affects Versions: 1.14.2
> Reporter: Luís Manuel Azevedo Costa
> Priority: Minor
>
> Greetings,
> I am using flink version 1.14.2 and after changing web.submit.enable to false, job submission via REST API is no longer working.
> The app that uses flink receives a 404 with "Not found: /jars/upload"
> Looking into [documentation|[https://nightlies.apache.org/flink/flink-docs-release-1.14/docs/deployment/config/]] saw that web.upload.dir is only used if {{web.submit.enable}} is true, if not it will be used JOB_MANAGER_WEB_TMPDIR_KEY
> Doing a curl to /jars it returns:
> {code:java}
> curl -v http://localhost:8081/jars
> HTTP/1.1 404 Not Found
> {"errors":["Unable to load requested file /jars."]} {code}
> Found this issue related to option web.submit.enable https://issues.apache.org/jira/browse/FLINK-13799
> Could you please let me know if this is an issue that you are already aware?
> Thanks in advance
> Best regards,
> Luís Costa
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)