Hadoop Common
  1. Hadoop Common
  2. HADOOP-748

the delete in localfilesystem traverses symlinks to delete files which is not expected

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      the fullyDelete in FileUtil follows symlinks and deletes all the files in the symlinks. This is unexpected behaviour. Creates issues with caching as well.

      1. fullydelete.patch
        2 kB
        Mahadev konar

        Activity

        Hide
        Mahadev konar added a comment -

        resolved by the patch for HADOOP-673.

        Show
        Mahadev konar added a comment - resolved by the patch for HADOOP-673 .
        Hide
        Mahadev konar added a comment -

        this patch fixes the issue. This patch uses rm -rf for FileUtil.fullyDelete().

        Show
        Mahadev konar added a comment - this patch fixes the issue. This patch uses rm -rf for FileUtil.fullyDelete().

          People

          • Assignee:
            Mahadev konar
            Reporter:
            Mahadev konar
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development