HADOOP-6344. Fix rm and rmr immediately delete files rather than sending to trash, if a user is over-quota. Contributed by Jakob Homan.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@831478 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2009-10-30 22:39:01 +00:00
parent 3f371a0a64
commit 382af3f627
2 changed files with 5 additions and 1 deletions

View File

@ -1139,6 +1139,9 @@ Release 0.21.0 - Unreleased
-libjars and -archives options and fix Path to support URI with fragment. -libjars and -archives options and fix Path to support URI with fragment.
(Amareshwari Sriramadasu via szetszwo) (Amareshwari Sriramadasu via szetszwo)
HADOOP-6344. Fix rm and rmr immediately delete files rather than sending
to trash, if a user is over-quota. (Jakob Homan via suresh)
Release 0.20.2 - Unreleased Release 0.20.2 - Unreleased
NEW FEATURES NEW FEATURES

View File

@ -128,7 +128,8 @@ public boolean moveToTrash(Path path) throws IOException {
} }
} catch (IOException e) { } catch (IOException e) {
LOG.warn("Can't create trash directory: "+baseTrashPath); LOG.warn("Can't create trash directory: "+baseTrashPath);
return false; cause = e;
break;
} }
try { try {
// //