Chang Li commented on YARN-4269:

[~steve_l], yes, this only help log when close fail. It will be good to have 
this log to notice us something could go wrong with log aggregation.
[~bibinchundatt], cleanup only log in debug mode, so I create closeStream to 
log close failure in info.

> Log aggregation should not swallow the exception during close()
> ---------------------------------------------------------------
>                 Key: YARN-4269
>                 URL: https://issues.apache.org/jira/browse/YARN-4269
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Chang Li
>            Assignee: Chang Li
>         Attachments: YARN-4269.patch
> the log aggregation thread ignores exception thrown by close(). It shouldn't 
> be ignored, since the file content may be missing or partial.

This message was sent by Atlassian JIRA

Reply via email to