Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.0
-
None
-
Reviewed
-
Description
DirectoryWithSnapshotFeature.computeContentSummary4Snapshot calculates how much disk usage is used by a snapshot by tallying up the files in the snapshot that have since been deleted (that way it won't overlap with regular files whose disk usage is computed separately). However that is determined from a diff that shows moved (to Trash or otherwise) or renamed files as a deletion and a creation operation that may overlap with the list of blocks. Only the deletion operation is taken into consideration, and this causes those blocks to get represented twice in the disk usage tallying.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-11661 GetContentSummary uses excessive amounts of memory
- Resolved
- is broken by
-
HDFS-11515 -du throws ConcurrentModificationException
- Resolved
- is related to
-
HDFS-11705 BUG: Inconsistent storagespace for directory
- Open