hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r727239 - in /hadoop/core/trunk: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
Date Wed, 17 Dec 2008 00:58:58 GMT
Author: shv
Date: Tue Dec 16 16:58:57 2008
New Revision: 727239

URL: http://svn.apache.org/viewvc?rev=727239&view=rev
Log:
HADOOP-4771. Correct initialization of the file count for directories with quotas. Contributed
by Ruyue Ma.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=727239&r1=727238&r2=727239&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Tue Dec 16 16:58:57 2008
@@ -459,6 +459,9 @@
 
     HADOOP-4791. Fix rpm build process for Chukwa. (Eric Yang via cdouglas)
 
+    HADOOP-4771. Correct initialization of the file count for directories 
+    with quotas. (Ruyue Ma via shv)
+
 Release 0.19.1 - Unreleased
 
   IMPROVEMENTS
@@ -483,7 +486,7 @@
     HADOOP-4727. Fix a group checking bug in fill_stat_structure(...) in
     fuse-dfs.  (Brian Bockelman via szetszwo)
 
-    HADOOP-4836. Correct typos in mapred related documentation.  (Jordà Polo
+    HADOOP-4836. Correct typos in mapred related documentation.  (Jord? Polo
     via szetszwo)
 
     HADOOP-4821. Usage description in the Quotas guide documentations are

Modified: hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java?rev=727239&r1=727238&r2=727239&view=diff
==============================================================================
--- hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
(original)
+++ hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
Tue Dec 16 16:58:57 2008
@@ -53,6 +53,7 @@
     super(permissions, modificationTime);
     this.nsQuota = nsQuota;
     this.dsQuota = dsQuota;
+    this.nsCount = 1;
   }
   
   /** constructor with no quota verification */
@@ -62,6 +63,7 @@
     super(name, permissions);
     this.nsQuota = nsQuota;
     this.dsQuota = dsQuota;
+    this.nsCount = 1;
   }
   
   /** Get this directory's namespace quota



Mime
View raw message