Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
-
None
-
-
Reviewed
Description
BlockInfo[] snapshotBlocks = diff == null ? getBlocks() : diff.getBlocks(); if(snapshotBlocks != null) return snapshotBlocks; // Blocks are not in the current snapshot // Find next snapshot with blocks present or return current file blocks snapshotBlocks = getDiffs().findLaterSnapshotBlocks(diff.getSnapshotId());
If diff is null and snapshotBlocks is null, NullPointerException would result from the call to diff.getSnapshotId().
Attachments
Attachments
Issue Links
- is related to
-
HDFS-3107 HDFS truncate
- Closed