File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 \n The filesystem under path '" + path + "' has " + filler
You can’t perform that action at this time.
0 commit comments