[ 
https://issues.apache.org/jira/browse/HDFS-5475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDFS-5475:
--------------------------------

    Attachment: h5475.01.patch

Patch to update target storage in {{BlockInfo}} and 
{{BlockInfoUnderConstruction}} from block reports. This fixes {{TestGetBlocks}}.

> NN incorrectly tracks more than one replica per DN
> --------------------------------------------------
>
>                 Key: HDFS-5475
>                 URL: https://issues.apache.org/jira/browse/HDFS-5475
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: Heterogeneous Storage (HDFS-2832)
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: h5475.01.patch
>
>
> NN chooses a provisional target storage when allocating a new block and 
> records that block in the blockList of that storage. However the datanode is 
> free to choose a different storage for the block. On the next block report 
> the NN ends up with two blockList entries for the same replica+DN combination.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to