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

Naganarasimha G R commented on MAPREDUCE-6610:
----------------------------------------------

Thanks [~gtCarrera] for the patch,
Small nits :
* we can check for {{LOG.isDebugEnabled()}} before logging the debug message.
* Debug message can contain {{eventType}} which would be helpfull in analyzing 
else *"Timeline entities are successfully put"* will be of not much help.
* May be this logging information can be extracted to a method as checkstyle is 
hinting at larger method size ?

IMO as its logging test case is not required. 

> JobHistoryEventHandler should not swallow timeline response
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-6610
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6610
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Li Lu
>            Assignee: Li Lu
>            Priority: Trivial
>         Attachments: MAPREDUCE-6610-trunk.001.patch
>
>
> As discussed in YARN-4596, JobHistoryEventHandler should process and log 
> timeline put errors after the timeline put call. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to