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

add FileUtil.fullyDeleteContents(dir) api to delete contents of a directory

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Added an api FileUtil.fullyDeleteContents(String dir) to delete contents of the directory.

      Description

      Add FileUtil.fullyDeleteContents(dir) api to delete contents of a directory, not directory itself. This will be useful if we want to clear the contents of cwd.

        Attachments

        1. patch-6531-3.txt
          6 kB
          Amareshwari Sriramadasu
        2. patch-6531-2.txt
          4 kB
          Amareshwari Sriramadasu
        3. patch-6531-1.txt
          4 kB
          Amareshwari Sriramadasu
        4. patch-6531.txt
          4 kB
          Amareshwari Sriramadasu

          Issue Links

            Activity

              People

              • Assignee:
                amareshwari Amareshwari Sriramadasu
                Reporter:
                amareshwari Amareshwari Sriramadasu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: