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

Normalize fuse-dfs handling of moving things to trash wrt the way hadoop dfs does it (only when non posix trash flag is enabled in compile)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None
    • Reviewed

    Description

      Currently fuse-dfs is very crude about moving things to Trash. It can only move them once since it doesn't use any numbering scheme to prevent overwrites.

      Should look at the code that hadoop dfs uses to move things to the trash and have the same behavior, i think.

      Leaving it as major because it's pretty annoying and you can't tell what's wrong when you get an EIO when deleting something.

      Attachments

        1. patch0.txt
          11 kB
          Pete Wyckoff
        2. patch0.txt
          11 kB
          Pete Wyckoff
        3. TEST-TestFuseDFS.txt
          17 kB
          Pete Wyckoff
        4. patch1.txt
          13 kB
          Pete Wyckoff
        5. patch2.txt
          13 kB
          Pete Wyckoff
        6. patch2.txt
          13 kB
          Pete Wyckoff
        7. patch2.txt
          13 kB
          Pete Wyckoff

        Activity

          People

            wyckoff Pete Wyckoff
            wyckoff Pete Wyckoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: