Hadoop Common
  1. Hadoop Common
  2. HADOOP-6344

rm and rmr fail to correctly move the user's files to the trash prior to deleting when they are over quota.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.0, 0.20.1, 0.21.0, 0.22.0
    • Fix Version/s: 0.21.0, 0.22.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Trash feature notifies user of over-quota condition rather than silently deleting files/directories; deletion can be compelled with "rm -skiptrash".

      Description

      With trash turned on, if a user is over his quota and does a rm (or rmr), the file is deleted without a copy being placed in the trash.

      1. HDFS-740.patch
        0.5 kB
        Jakob Homan
      2. HDFS-740-for-Y20.patch
        0.5 kB
        Jakob Homan

        Issue Links

          Activity

          gary murry created issue -
          gary murry made changes -
          Field Original Value New Value
          Summary rm and rmr can accidently delete user's data rm and rmr fail to correctly move the user's files to the trash prior to deleting when they are over quota.
          Jakob Homan made changes -
          Project Hadoop HDFS [ 12310942 ] Hadoop Common [ 12310240 ]
          Key HDFS-740 HADOOP-6344
          Affects Version/s 0.20.1 [ 12313866 ]
          Affects Version/s 0.20.0 [ 12313438 ]
          Affects Version/s 0.21.0 [ 12313563 ]
          Affects Version/s 0.22.0 [ 12314296 ]
          Affects Version/s 0.20.1 [ 12314048 ]
          Jakob Homan made changes -
          Attachment HDFS-740-for-Y20.patch [ 12423634 ]
          Attachment HDFS-740.patch [ 12423635 ]
          Jakob Homan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Jakob Homan made changes -
          Link This issue is related to HADOOP-6345 [ HADOOP-6345 ]
          Suresh Srinivas made changes -
          Hadoop Flags [Reviewed]
          Assignee Jakob Homan [ jghoman ]
          Component/s fs [ 12310689 ]
          Suresh Srinivas made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Robert Chansler made changes -
          Release Note Trash feature notifies user of over-quota condition rather than silently deleting files/directories; deletion can be compelled with "rm -skiptrash".
          Nigel Daley made changes -
          Fix Version/s 0.22.0 [ 12314296 ]
          Fix Version/s 0.21.0 [ 12313563 ]
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Jakob Homan
              Reporter:
              gary murry
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development