From caa970974c7c4b1a99e1a1e481c8e8c861321363 Mon Sep 17 00:00:00 2001 From: Jakob Homan Date: Fri, 2 Oct 2015 11:13:24 -0700 Subject: [PATCH] HDFS-9191. Typo in Hdfs.java. NoSuchElementException is misspelled. Contributed by Catherine Palmer. (cherry picked from commit 3929ac9340a5c9f26574dc076a449f7e11931527) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop-hdfs/src/main/java/org/apache/hadoop/fs/Hdfs.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 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()) {