You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/07/25 02:30:38 UTC

[jira] [Created] (HDFS-6750) The DataNode should use its shared memory segment to mark short-circuit replicas that have been unlinked as stale

Colin Patrick McCabe created HDFS-6750:
------------------------------------------

             Summary: The DataNode should use its shared memory segment to mark short-circuit replicas that have been unlinked as stale
                 Key: HDFS-6750
                 URL: https://issues.apache.org/jira/browse/HDFS-6750
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: datanode, hdfs-client
    Affects Versions: 2.4.0
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe


The DataNode should mark short-circuit replicas that have been unlinked as stale.  This would prevent replicas that had been deleted from lingering in the DFSClient cache.  (At least for DFSClients that use shared memory; those without shared memory will still have to use the timeout method.)

Note that when a replica is stale, any ongoing reads or mmaps can still complete.  But stale replicas will be removed from the DFSClient cache once they're no longer in use.



--
This message was sent by Atlassian JIRA
(v6.2#6252)