Details
Description
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"