diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index b72eaf75e20..6c4d94d9f7a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -243,6 +243,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) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java index ce4caba31cf..b67707291ae 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java @@ -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;