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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha4
    • Component/s: fs
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: