Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9437

TestNativeIO#testRenameTo fails on Windows due to assumption that POSIX errno is embedded in NativeIOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.0-beta
    • test
    • None
    • Reviewed

    Description

      HDFS-4428 added a detailed error message for failures to rename files by embedding the POSIX errno in the NativeIOException. On Windows, the mapping of errno is not performed, so the errno enum value will not be present in the NativeIOException.

      Attachments

        1. HADOOP-9437.1.patch
          1 kB
          Chris Nauroth
        2. HADOOP-9437.2.patch
          2 kB
          Chris Nauroth
        3. HADOOP-9437.3.patch
          3 kB
          Chris Nauroth

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: