hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1504008 - in /hadoop/common/branches/branch-1: CHANGES.txt src/core/org/apache/hadoop/fs/Trash.java
Date Wed, 17 Jul 2013 05:59:49 GMT
Author: suresh
Date: Wed Jul 17 05:59:48 2013
New Revision: 1504008

URL: http://svn.apache.org/r1504008
Log:
HDFS-4903. Print trash configuration and trash emptier state in namenode log. Contributed
by Arpit Agarwal.

Modified:
    hadoop/common/branches/branch-1/CHANGES.txt
    hadoop/common/branches/branch-1/src/core/org/apache/hadoop/fs/Trash.java

Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1504008&r1=1504007&r2=1504008&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Wed Jul 17 05:59:48 2013
@@ -21,6 +21,9 @@ Release 1.3.0 - unreleased
     HADOOP-8873. Port HADOOP-8175 (Add mkdir -p flag) to branch-1.
     (Akira Ajisaka via suresh)
 
+    HDFS-4903. Print trash configuration and trash emptier state in namenode
+    log. (Arpit Agarwal via suresh)
+
   BUG FIXES
 
     MAPREDUCE-5047. keep.failed.task.files=true causes job failure on 

Modified: hadoop/common/branches/branch-1/src/core/org/apache/hadoop/fs/Trash.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/src/core/org/apache/hadoop/fs/Trash.java?rev=1504008&r1=1504007&r2=1504008&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/src/core/org/apache/hadoop/fs/Trash.java (original)
+++ hadoop/common/branches/branch-1/src/core/org/apache/hadoop/fs/Trash.java Wed Jul 17 05:59:48
2013
@@ -79,6 +79,8 @@ public class Trash extends Configured {
     this.trash = new Path(home, TRASH);
     this.current = new Path(trash, CURRENT);
     this.interval = conf.getLong("fs.trash.interval", 60) * MSECS_PER_MINUTE;
+    LOG.info("Namenode trash configuration: Trash interval = " +
+        this.interval + " minutes.");
   }
   
   private Path makeTrashRelativePath(Path basePath, Path rmFilePath) {



Mime
View raw message