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

Jason Lowe commented on YARN-6876:
----------------------------------

Sorry for the late comment, but I was just looking at the code in trunk and saw 
a bunch of close calls changed to quiet forms.  Seems to me this could silently 
swallow errors encountered during close which would be a bad thing.  I saw that 
this was brought up earlier in the review but I didn't see it addressed in the 
comments.
bq. I found we are replacing close or closeStream to closeQuietly. Any 
specially reason for this change? Does that related to this refactor effort 
here?


> Create an abstract log writer for extendability
> -----------------------------------------------
>
>                 Key: YARN-6876
>                 URL: https://issues.apache.org/jira/browse/YARN-6876
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>             Fix For: 2.9.0, 3.0.0-beta1
>
>         Attachments: YARN-6876-branch-2.001.patch, YARN-6876-trunk.001.patch, 
> YARN-6876-trunk.002.patch, YARN-6876-trunk.003.patch, 
> YARN-6876-trunk.004.patch, YARN-6876-trunk.005.patch, 
> YARN-6876-trunk.006.patch
>
>
> Currently, TFile log writer is used to aggregate log in YARN. We need to add 
> an abstract layer, and pick up the correct log writer based on the 
> configuration.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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