hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1150891 - /hadoop/common/branches/HDFS-1073/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
Date Mon, 25 Jul 2011 20:31:09 GMT
Author: todd
Date: Mon Jul 25 20:31:09 2011
New Revision: 1150891

URL: http://svn.apache.org/viewvc?rev=1150891&view=rev
Log:
Change BackupImage.BNState comments to be JavaDoc

Part of response to Konstantin's review.

Modified:
    hadoop/common/branches/HDFS-1073/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java

Modified: hadoop/common/branches/HDFS-1073/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-1073/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java?rev=1150891&r1=1150890&r2=1150891&view=diff
==============================================================================
--- hadoop/common/branches/HDFS-1073/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
(original)
+++ hadoop/common/branches/HDFS-1073/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/BackupImage.java
Mon Jul 25 20:31:09 2011
@@ -58,14 +58,20 @@ public class BackupImage extends FSImage
    */
   volatile BNState bnState;
   static enum BNState {
-    // Edits from the NN should be dropped. On the next log roll,
-    // transition to JOURNAL_ONLY state
+    /**
+     * Edits from the NN should be dropped. On the next log roll,
+     * transition to JOURNAL_ONLY state
+     */
     DROP_UNTIL_NEXT_ROLL,
-    // Edits from the NN should be written to the local edits log
-    // but not applied to the namespace.
+    /**
+     * Edits from the NN should be written to the local edits log
+     * but not applied to the namespace.
+     */
     JOURNAL_ONLY,
-    // Edits should be written to the local edits log and applied
-    // to the local namespace.
+    /**
+     * Edits should be written to the local edits log and applied
+     * to the local namespace.
+     */
     IN_SYNC;
   }
 



Mime
View raw message