I am unable to delete corrupt files present in my HDFS.
when i launch :
hdfs fsck -list-corruptfileblocks
i got some blocks corrupted : The filesystem under path '/' has 10 CORRUPT files
hdfs dfs -rm /path/to/filename.fileextension
rm: `/path/to/filename.fileextension': No such file or directory
I also tried
hdfs fsck / -delete
Under-replicated blocks: 0 (0.0 %)
Mis-replicated blocks: 0 (0.0 %)
Default replication factor: 3
Corrupt blocks: 0
Missing replicas: 0 (0.0 %)
The filesystem under path '/' is HEALTHY
I've also restart both of namenodes and the bug still occurs
Can anyone please help me in this case ? Here is a similar case :
Thanks.