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:
parent
3f371a0a64
commit
382af3f627
@ -1139,6 +1139,9 @@ Release 0.21.0 - Unreleased
|
||||
-libjars and -archives options and fix Path to support URI with fragment.
|
||||
(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
|
||||
|
||||
NEW FEATURES
|
||||
|
@ -128,7 +128,8 @@ public boolean moveToTrash(Path path) throws IOException {
|
||||
}
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Can't create trash directory: "+baseTrashPath);
|
||||
return false;
|
||||
cause = e;
|
||||
break;
|
||||
}
|
||||
try {
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user