Hadoop Common
  1. Hadoop Common
  2. HADOOP-4970

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Prasad Chakka created issue -
          Prasad Chakka made changes -
          Field Original Value New Value
          Link This issue blocks HIVE-141 [ HIVE-141 ]
          Prasad Chakka made changes -
          Attachment hadoop-4970.patch [ 12397225 ]
          Prasad Chakka made changes -
          Release Note Absolute path of the deleted file will be used while moving to trash to make undelete possible.
          Status Open [ 1 ] Patch Available [ 10002 ]
          dhruba borthakur made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Fix Version/s 0.20.0 [ 12313438 ]
          Prasad Chakka made changes -
          Attachment hadoop-4970.2.patch [ 12398918 ]
          Prasad Chakka made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          dhruba borthakur made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Incompatible change, Reviewed]
          Robert Chansler made changes -
          Hadoop Flags [Reviewed, Incompatible change] [Incompatible change, Reviewed]
          Release Note Absolute path of the deleted file will be used while moving to trash to make undelete possible. Changed trash facility to use absolute path of the deleted file.
          Nigel Daley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Owen O'Malley made changes -
          Component/s dfs [ 12310710 ]
          Konstantin Shvachko made changes -
          Link This issue relates to HADOOP-6485 [ HADOOP-6485 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development