Souryakanta Dwivedy created HDFS-15222: ------------------------------------------
Summary: HDFS: Output message of ""hdfs fsck -list-corruptfileblocks" command is not correct Key: HDFS-15222 URL: https://issues.apache.org/jira/browse/HDFS-15222 Project: Hadoop HDFS Issue Type: Bug Components: hdfs, tools Affects Versions: 3.1.1 Environment: 3 node HA cluster Reporter: Souryakanta Dwivedy Attachments: output1.PNG, output2.PNG Output message of ""hdfs fsck -list-corruptfileblocks" command is not correct Steps :-Steps :- * Create a directory and put files - * Corrupt the file blocks * check the corrupted file blocks with "hdfs fsck -list-corruptfileblocks" command It will display corrupted file blocks with message as "The list of corrupt files under path '/path' are:" at the beginning which is wrong. And at the end of output also the wrong message will display as "The filesystem under path '/path' has <count> CORRUPT files" Actual output : "The list of corrupt files under path '/path' are:" "The filesystem under path '/path' has <count> CORRUPT files" Expected output : "The list of corrupted file blocks under path '/path' are:" "The filesystem under path '/path' has <count> CORRUPT file blocks" -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org