Pārlūkot izejas kodu

HDFS-7472. Fix typo in message of ReplicaNotFoundException. Contributed by Masatake Iwasaki.

Haohui Mai 10 gadi atpakaļ
vecāks
revīzija
6afc75f87b

+ 3 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -279,6 +279,9 @@ Release 2.7.0 - UNRELEASED
     HDFS-7448 TestBookKeeperHACheckpoints fails in trunk build
     (Akira Ajisaka via stevel)
 
+    HDFS-7472. Fix typo in message of ReplicaNotFoundException.
+    (Masatake Iwasaki via wheat9)
+
 Release 2.6.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaNotFoundException.java

@@ -37,7 +37,7 @@ public class ReplicaNotFoundException extends IOException {
   public final static String NON_EXISTENT_REPLICA =
     "Cannot append to a non-existent replica ";
   public final static String UNEXPECTED_GS_REPLICA =
-    "Cannot append to a replica with unexpeted generation stamp ";
+    "Cannot append to a replica with unexpected generation stamp ";
 
   public ReplicaNotFoundException() {
     super();