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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.19.0
    • 0.20.0
    • None
    • None
    • Incompatible change, Reviewed
    • 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.2.patch
          4 kB
          Prasad Chakka
        2. hadoop-4970.patch
          3 kB
          Prasad Chakka

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: