- last edited on
How to handle Missing and corrupted blocks with out deleting the files. (CDH 5.8.x)
I used hdfs fsck /path/of/corrupted/file -delete instead of deleting corrupted blocks the file got deleted.
Output after running the command
Do I need to run any command to generate missing blocks before running fsck -delete,
Can you please help me how to run run fsck query with out deleting the file. Or any other commands to fix the issue.