diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 7fc46a6046a..67aa67ddeb3 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1133,6 +1133,9 @@ Release 2.8.0 - UNRELEASED HDFS-9100. HDFS Balancer does not respect dfs.client.use.datanode.hostname. (Casey Brotherton via Yongjun Zhang) + HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled. + (Catherine Palmer via jghoman) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java index 1d37aa9f6cd..6dd88844b0c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.java @@ -238,7 +238,7 @@ public class Hdfs extends AbstractFileSystem { * @return the next item in the list * * @throws IOException if there is any error - * @throws NoSuchElmentException if no more entry is available + * @throws NoSuchElementException if no more entry is available */ public HdfsFileStatus getNext() throws IOException { if (hasNext()) {