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

Suresh Srinivas commented on HDFS-7119:
---------------------------------------

+1 for the patch. [~cnauroth], thanks for making the debugging easier.

> Split error checks in AtomicFileOutputStream#close into separate conditions 
> to improve diagnostics.
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-7119
>                 URL: https://issues.apache.org/jira/browse/HDFS-7119
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: journal-node
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Minor
>         Attachments: HDFS-7119.1.patch
>
>
> {{AtomicFileOutputStream#close}} throws an exception if either deleting the 
> original file or renaming the temp file fails, but the exception isn't 
> specific about which step failed.  Splitting these into separate conditions 
> with different error messages could help diagnose a permissions problem more 
> quickly.



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

Reply via email to