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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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. patch1.txt
          13 kB
          Pete Wyckoff
        4. patch2.txt
          13 kB
          Pete Wyckoff
        5. patch2.txt
          13 kB
          Pete Wyckoff
        6. patch2.txt
          13 kB
          Pete Wyckoff
        7. TEST-TestFuseDFS.txt
          17 kB
          Pete Wyckoff

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: