hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lei (Eddy) Xu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-8860) Remove Replica hardlink / unlink code
Date Wed, 05 Aug 2015 22:45:04 GMT
Lei (Eddy) Xu created HDFS-8860:
-----------------------------------

             Summary: Remove Replica hardlink / unlink code
                 Key: HDFS-8860
                 URL: https://issues.apache.org/jira/browse/HDFS-8860
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Lei (Eddy) Xu
            Assignee: Lei (Eddy) Xu


{{ReplicaInfo#unlinkBlock()}} is effectively disabled by the following code, because {{isUnlinked()}}
always returns true.

{code}
if (isUnlinked()) {
  return false;
}
{code}

Several test cases, e.g., {{TestFileAppend#testCopyOnWrite}} and {{TestDatanodeRestart#testRecoverReplicas}}
are testing against the unlink 
Lets remove the relevant code to eliminate the confusions. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message