Arpit Agarwal created HDFS-6978:
-----------------------------------

             Summary: Directory scanner should correctly reconcile blocks on 
RAM disk
                 Key: HDFS-6978
                 URL: https://issues.apache.org/jira/browse/HDFS-6978
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: datanode
    Affects Versions: HDFS-6581
            Reporter: Arpit Agarwal
            Assignee: Arpit Agarwal


Currently it would be a very unlikely situation for the directory scanner to 
encounter two replicas of the same block on different volumes. Hence the 
scanner does not handle this situation predictable.

With memory storage, it is common to save blocks to persistent storage and 
eviction of the original RAM disk block could fail since the block is in use. 
In this situation, the directory scanner should never delete the block on 
persistent storage.



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

Reply via email to