From 6afc75f87b52b9bb6d173bcd2a319d6abac0bb18 Mon Sep 17 00:00:00 2001 From: Haohui Mai Date: Fri, 5 Dec 2014 11:23:13 -0800 Subject: [PATCH] HDFS-7472. Fix typo in message of ReplicaNotFoundException. Contributed by Masatake Iwasaki. --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop/hdfs/server/datanode/ReplicaNotFoundException.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 6ec10ae7f01..821d06725c9 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/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 diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaNotFoundException.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaNotFoundException.java index 124574b842f..b159d3a1b5c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/ReplicaNotFoundException.java +++ b/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();