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 Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Konstantin Shvachko made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Amareshwari Sriramadasu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Ravi Gummadi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ravi Gummadi made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Amareshwari Sriramadasu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ravi Gummadi made changes -
        Attachment HADOOP-6536.v1.1.patch [ 12449821 ]
        Amareshwari Sriramadasu made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Ravi Gummadi made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ravi Gummadi made changes -
        Attachment HADOOP-6536.v1.patch [ 12443923 ]
        Ravi Gummadi made changes -
        Attachment HADOOP-6536.patch [ 12443041 ]
        Ravi Gummadi made changes -
        Field Original Value New Value
        Assignee Ravi Gummadi [ ravidotg ]
        Amareshwari Sriramadasu created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development