Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDFS Missing and corrupted blocks

Highlighted

HDFS Missing and corrupted blocks

Explorer

Hello Team/All,

 

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

WhatsApp Image 2019-09-03 at 13.24.52.jpeg

 

 

 

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.

Don't have an account?
Coming from Hortonworks? Activate your account here