Chris Nauroth created HDFS-7119:
-----------------------------------

             Summary: 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: Improvement
          Components: journal-node
            Reporter: Chris Nauroth
            Assignee: Chris Nauroth


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