Skip to content

Commit 6cbd885

Browse files
committed
HDFS-15381. Fix typos corrputBlocksFiles to corruptBlocksFiles. Contributed by bianqi.
1 parent bb459d4 commit 6cbd885

File tree

1 file changed

+3
-3
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode

1 file changed

+3
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NamenodeFsck.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,10 +479,10 @@ public void fsck() {
479479
}
480480

481481
private void listCorruptFileBlocks() throws IOException {
482-
final List<String> corrputBlocksFiles = namenode.getNamesystem()
482+
final List<String> corruptBlocksFiles = namenode.getNamesystem()
483483
.listCorruptFileBlocksWithSnapshot(path, snapshottableDirs,
484484
currentCookie);
485-
int numCorruptFiles = corrputBlocksFiles.size();
485+
int numCorruptFiles = corruptBlocksFiles.size();
486486
String filler;
487487
if (numCorruptFiles > 0) {
488488
filler = Integer.toString(numCorruptFiles);
@@ -492,7 +492,7 @@ private void listCorruptFileBlocks() throws IOException {
492492
filler = "no more";
493493
}
494494
out.println("Cookie:\t" + currentCookie[0]);
495-
for (String s : corrputBlocksFiles) {
495+
for (String s : corruptBlocksFiles) {
496496
out.println(s);
497497
}
498498
out.println("\n\nThe filesystem under path '" + path + "' has " + filler

0 commit comments

Comments
 (0)