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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • fs
    • None
    • 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.patch
          0.8 kB
          Boris Shkolnik
        2. HADOOP-6229-1.patch
          3 kB
          Boris Shkolnik
        3. HADOOP-6229-2.patch
          4 kB
          Boris Shkolnik
        4. HADOOP-6229-2.patch
          4 kB
          Boris Shkolnik

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: