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

FileUtil.fullyDelete(dir) behavior is not defined when we pass a symlink as the argument

    Details

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

      Description

      FileUtil.fullyDelete(dir) deletes contents of sym-linked directory when we pass a symlink. If this is the behavior, it should be documented as so.
      Or it should be changed not to delete the contents of the sym-linked directory.

        Attachments

        1. HADOOP-6536.v1.1.patch
          5 kB
          Ravi Gummadi
        2. HADOOP-6536.v1.patch
          3 kB
          Ravi Gummadi
        3. HADOOP-6536.patch
          3 kB
          Ravi Gummadi

          Activity

            People

            • Assignee:
              ravidotg Ravi Gummadi
              Reporter:
              amareshwari Amareshwari Sriramadasu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: