Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6185 HDFS operational and debuggability improvements
  3. HDFS-7119

Split error checks in AtomicFileOutputStream#close into separate conditions to improve diagnostics.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • journal-node
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HDFS-7119.1.patch
          4 kB
          Chris Nauroth

        Issue Links

          Activity

            People

              cnauroth Chris Nauroth
              cnauroth Chris Nauroth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: