This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6cbd885 HDFS-15381. Fix typos corrputBlocksFiles to
corruptBlocksFiles. Contributed by bianqi.
6cbd885 is described below
commit 6cbd8854ee5f2c33496ac7ae397e366cf136dd07
Author: Ayush Saxena <[email protected]>
AuthorDate: Mon Jul 20 21:49:05 2020 +0530
HDFS-15381. Fix typos corrputBlocksFiles to corruptBlocksFiles. Contributed
by bianqi.
---
.../java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
index b36c11a..469ef89 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java
@@ -479,10 +479,10 @@ public class NamenodeFsck implements
DataEncryptionKeyFactory {
}
private void listCorruptFileBlocks() throws IOException {
- final List<String> corrputBlocksFiles = namenode.getNamesystem()
+ final List<String> corruptBlocksFiles = namenode.getNamesystem()
.listCorruptFileBlocksWithSnapshot(path, snapshottableDirs,
currentCookie);
- int numCorruptFiles = corrputBlocksFiles.size();
+ int numCorruptFiles = corruptBlocksFiles.size();
String filler;
if (numCorruptFiles > 0) {
filler = Integer.toString(numCorruptFiles);
@@ -492,7 +492,7 @@ public class NamenodeFsck implements
DataEncryptionKeyFactory {
filler = "no more";
}
out.println("Cookie:\t" + currentCookie[0]);
- for (String s : corrputBlocksFiles) {
+ for (String s : corruptBlocksFiles) {
out.println(s);
}
out.println("\n\nThe filesystem under path '" + path + "' has " + filler
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]