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

FileUtil.checkDest() and RawLocalFileSystem.mkdirs() to throw stricter IOEs; RawLocalFS contract tests to verify

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha4
    • fs
    • None

    Description

      FileUtil.checkDest() throws IOEs when its conditions are not met, with meaningful text.

      The code could be improved if it were to throw PathExistsException and PathIsDirectoryException when appropriate

      Attachments

        1. HADOOP-12856-001.patch
          4 kB
          Steve Loughran
        2. HADOOP-12856-002.patch
          4 kB
          Steve Loughran
        3. HADOOP-12856-003.patch
          4 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: