You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sh...@apache.org on 2008/12/17 01:58:58 UTC
svn commit: r727239 - in /hadoop/core/trunk: CHANGES.txt
src/hdfs/org/apache/hadoop/hdfs/server/namenode/INodeDirectoryWithQuota.java
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