Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.0, 3.0.0-alpha1
-
None
-
None
Description
ReplicaInfo#unlinkBlock() is effectively disabled by the following code, because isUnlinked() always returns true.
if (isUnlinked()) { return false; }
Several test cases, e.g., TestFileAppend#testCopyOnWrite and TestDatanodeRestart#testRecoverReplicas are testing against the unlink
Lets remove the relevant code to eliminate the confusions.
Attachments
Attachments
Issue Links
- breaks
-
HDFS-9589 Block files which have been hardlinked should be duplicated before the DataNode appends to the them
-
- Resolved
-
- is related to
-
HADOOP-2655 Copy on write for data and metadata files in the presence of snapshots
-
- Closed
-