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

Atempt to make a directory under an existing file on LocalFileSystem should throw an Exception.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This task is sub task of HDFS-303

      "1. When trying to make a directory under an existing file, HDFS throws an IOException while LocalFileSystem doesn't.
      An IOException seems good here. "

      Actually HDFS throws FileNotFoundException in this case (in FSDirectory.mkdirs() ). So I guess we should do the same.

        Attachments

        1. HADOOP-6229-2.patch
          4 kB
          Boris Shkolnik
        2. HADOOP-6229-2.patch
          4 kB
          Boris Shkolnik
        3. HADOOP-6229-1.patch
          3 kB
          Boris Shkolnik
        4. HADOOP-6229.patch
          0.8 kB
          Boris Shkolnik

          Issue Links

            Activity

              People

              • Assignee:
                boryas Boris Shkolnik
                Reporter:
                boryas Boris Shkolnik
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: