hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1304681 - in /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs: CHANGES.txt src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
Date Sat, 24 Mar 2012 00:21:53 GMT
Author: todd
Date: Sat Mar 24 00:21:52 2012
New Revision: 1304681

URL: http://svn.apache.org/viewvc?rev=1304681&view=rev
Log:
HDFS-3132. Fix findbugs warning on HDFS trunk. Contributed by Todd Lipcon.

Modified:
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1304681&r1=1304680&r2=1304681&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Sat Mar 24 00:21:52 2012
@@ -339,6 +339,8 @@ Release 0.23.3 - UNRELEASED 
     HDFS-3100. In BlockSender, throw an exception when it needs to verify
     checksum but the meta data does not exist.  (Brandon Li via szetszwo)
 
+    HDFS-3132. Fix findbugs warning on HDFS trunk. (todd)
+
   BREAKDOWN OF HDFS-1623 SUBTASKS
 
     HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java?rev=1304681&r1=1304680&r2=1304681&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
(original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java
Sat Mar 24 00:21:52 2012
@@ -187,7 +187,7 @@ public class NameNode {
   protected FSNamesystem namesystem; 
   protected final Configuration conf;
   protected NamenodeRole role;
-  private HAState state;
+  private volatile HAState state;
   private final boolean haEnabled;
   private final HAContext haContext;
   protected boolean allowStaleStandbyReads;



Mime
View raw message