hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r721754 - in /hadoop/core/trunk: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
Date Sun, 30 Nov 2008 02:55:22 GMT
Author: cdouglas
Date: Sat Nov 29 18:55:22 2008
New Revision: 721754

URL: http://svn.apache.org/viewvc?rev=721754&view=rev
Log:
HADOOP-4669. Use correct operator when evaluating whether access time is
enabled Contributed by Dhruba Borthakur.

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

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=721754&r1=721753&r2=721754&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Sat Nov 29 18:55:22 2008
@@ -227,6 +227,9 @@
     HADOOP-4677. Fix semantics of FileSystem::getBlockLocations to return
     meaningful values. (Hong Tang via cdouglas)
 
+    HADOOP-4669. Use correct operator when evaluating whether access time is
+    enabled (Dhruba Borthakur via cdouglas)
+
 Release 0.19.1 - Unreleased
 
   BUG FIXES

Modified: hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java?rev=721754&r1=721753&r2=721754&view=diff
==============================================================================
--- hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java (original)
+++ hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java Sat
Nov 29 18:55:22 2008
@@ -753,7 +753,7 @@
     if(inode == null) {
       return null;
     }
-    if (doAccessTime & isAccessTimeSupported()) {
+    if (doAccessTime && isAccessTimeSupported()) {
       dir.setTimes(src, inode, -1, now(), false);
     }
     Block[] blocks = inode.getBlocks();



Mime
View raw message