Browse Source

HDFS-2547. Fix inaccuracy in ReplicationTargetChooser comments. (harsh)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1@1224893 13f79535-47bb-0310-9956-ffa450edef68
Harsh J 13 years ago
parent
commit
f626386e71

+ 2 - 0
CHANGES.txt

@@ -126,6 +126,8 @@ Release 1.1.0 - unreleased
 
     HDFS-2701. Cleanup FS* processIOError methods. (eli)
 
+    HDFS-2547. Fix inaccuracy in ReplicationTargetChooser comments. (harsh)
+
 Release 1.0.0 - unreleased
 
   NEW FEATURES

+ 1 - 1
src/hdfs/org/apache/hadoop/hdfs/server/namenode/ReplicationTargetChooser.java

@@ -32,7 +32,7 @@ import java.util.*;
  * the 1st replica is placed on the local machine, 
  * otherwise a random datanode. The 2nd replica is placed on a datanode
  * that is on a different rack. The 3rd replica is placed on a datanode
- * which is on the same rack as the first replca.
+ * which is on the same rack as the second replica.
  */
 class ReplicationTargetChooser {
   private final boolean considerLoad;