[ 
https://issues.apache.org/jira/browse/FLINK-31233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732803#comment-17732803
 ] 

Yangze Guo commented on FLINK-31233:
------------------------------------

master: c418b57870aaf5b4f4f9d0f69a70366b583ae166
a9e38d29811edb2bd35a97a2ff47f6519316c092

> no error should be logged  when retrieving the task manager's stdout if it 
> does not exist
> -----------------------------------------------------------------------------------------
>
>                 Key: FLINK-31233
>                 URL: https://issues.apache.org/jira/browse/FLINK-31233
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / REST
>    Affects Versions: 1.17.0
>            Reporter: Weihua Hu
>            Assignee: Weihua Hu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.18.0
>
>         Attachments: image-2023-02-27-13-56-40-718.png, 
> image-2023-02-27-13-57-27-190.png
>
>
> When running Flink on Kubernetes, the stdout logs is not redirected to files 
> so it will not shown in WEB UI. This is as expected.
> But It returns “500 Internal error” in REST API and produces an error log in 
> jobmanager.log. This is confusing and misleading.
>  
> I think this API should return “404 Not Found” without any error logs, 
> similar to how jobmanager/stdout works. 
>  
> !image-2023-02-27-13-57-27-190.png!
> !image-2023-02-27-13-56-40-718.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to