hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r831478 - in /hadoop/common/trunk: CHANGES.txt src/java/org/apache/hadoop/fs/Trash.java
Date Fri, 30 Oct 2009 22:39:02 GMT
Author: suresh
Date: Fri Oct 30 22:39:01 2009
New Revision: 831478

URL: http://svn.apache.org/viewvc?rev=831478&view=rev
Log:
HADOOP-6344. Fix rm and rmr immediately delete files rather than sending to trash, if a user
is over-quota. Contributed by Jakob Homan.

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/src/java/org/apache/hadoop/fs/Trash.java

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=831478&r1=831477&r2=831478&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Fri Oct 30 22:39:01 2009
@@ -1139,6 +1139,9 @@
     -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

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/fs/Trash.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/fs/Trash.java?rev=831478&r1=831477&r2=831478&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/fs/Trash.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/fs/Trash.java Fri Oct 30 22:39:01 2009
@@ -128,7 +128,8 @@
         }
       } catch (IOException e) {
         LOG.warn("Can't create trash directory: "+baseTrashPath);
-        return false;
+        cause = e;
+        break;
       }
       try {
         //



Mime
View raw message