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

Abhishek Modi commented on YARN-8155:
-------------------------------------

{quote}Catching notfoundexception and converting into web application exception 
changing return code. We should still retain return code not found right?
{quote}
I don't think we should pass WebApplicationException with Not Found code as 
that is meant when web application doesn't handle that page request. IMO 
WebApplicationException should be passed only with Internal Error only.

[~rohithsharma] thoughts?

> Improve the logging in NMTimelinePublisher and TimelineCollectorWebService
> --------------------------------------------------------------------------
>
>                 Key: YARN-8155
>                 URL: https://issues.apache.org/jira/browse/YARN-8155
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Rohith Sharma K S
>            Assignee: Abhishek Modi
>            Priority: Major
>         Attachments: YARN-8155.001.patch, YARN-8155.002.patch
>
>
> We see that NM logs are filled with larger stack trace of NotFoundException 
> if collector is removed from one of the NM and other NMs are still publishing 
> the entities.
>  
> This Jira is to improve the logging in NM so that we log with informative 
> message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to