Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
Currently for snapshot files, fsck -list-corruptfileblocks shows corrupt blocks with the original file dir instead of the snapshot dir, and fsck -list-corruptfileblocks -includeSnapshots behave the same.
This can be confusing because even when the original file is deleted, fsck will still show that deleted file as corrupted, although what's actually corrupted is the snapshot.
As a side note, fsck -files -includeSnapshots shows the snapshot dirs.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-9351 checkNNStartup() need to be called when fsck calls FSNamesystem.getSnapshottableDirs()
- Resolved
-
HDFS-9377 Fix findbugs warnings in FSDirSnapshotOp
- Resolved
- relates to
-
HADOOP-12517 Findbugs reported 0 issues, but summary stated -1 for findbugs
- Resolved