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

Prevent renaming a file, symlink or directory to itself

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.22.0
    • 0.21.0
    • None
    • None
    • Reviewed

    Description

      Per HDFS-1088 let's throw a FileAlreadyExistsException if renaming a file, symlink or directory to itself, or a symlink to the file it links to.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--hadoop-6703-1.patch
          7 kB
          Eli Collins
        2. ASF.LICENSE.NOT.GRANTED--hadoop-6703-2.patch
          7 kB
          Eli Collins
        3. hadoop-6703-3.patch
          8 kB
          Eli Collins

        Issue Links

          Activity

            People

              eli Eli Collins
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: