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

dfs.FSDirectory.mkdirs can create sub-directories of a file!

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3.1
    • 0.6.0
    • None
    • None

    Description

      dfs.FSDirectory.mkdirs will merrily adds children to a directory tree node without checking whether it represents a directory. So it is possible to create a subdirectories of a file.

      Attachments

        1. TestDFSMkdirs.java
          2 kB
          Wendy Chien
        2. addNode.patch
          0.7 kB
          Wendy Chien

        Activity

          People

            wchien Wendy Chien
            sameerp Sameer Paranjpye
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: