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

Use the full path when move files to .Trash/Current

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.19.0
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Changed trash facility to use absolute path of the deleted file.

      Description

      When a directory or file is deleted using rm or rmr, the subtree is moved directly to .Trash/Current. If there are two deleted objects with the same name but with different original paths it is not feasible to undelete them without storing additional information regarding the original paths. Instead if the full path of the deleting object is used while moving (replicating the complete path in .Trash/Current) it will be easier to undelete objects to its original paths.

        Attachments

        1. hadoop-4970.patch
          3 kB
          Prasad Chakka
        2. hadoop-4970.2.patch
          4 kB
          Prasad Chakka

          Issue Links

            Activity

              People

              • Assignee:
                prasadc Prasad Chakka
                Reporter:
                prasadc Prasad Chakka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: