Description
Implementation of truncate in HDFS-3107 does not allow truncating files which are in a snapshot. It is desirable to be able to truncate and still keep the old file state of the file in the snapshot.
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-7809 Block and lease recovery failure caused by snapshot issue
-
- Closed
-
- relates to
-
HDFS-12638 Delete copy-on-truncate block along with the original block, when deleting a file being truncated
-
- Resolved
-
-
HDFS-7831 Fix the starting index and end condition of the loop in FileDiffList.findEarlierSnapshotBlocks()
-
- Closed
-
- requires
-
HDFS-7263 Snapshot read can reveal future bytes for appended files.
-
- Closed
-