[
https://issues.apache.org/jira/browse/HDFS-6660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092874#comment-14092874
]
Daryn Sharp commented on HDFS-6660:
-----------------------------------
As a safety precaution, is it possible to add at least an assert to help catch
if the indices get munged?
> Use int instead of object reference to DatanodeStorageInfo in BlockInfo
> triplets,
> ---------------------------------------------------------------------------------
>
> Key: HDFS-6660
> URL: https://issues.apache.org/jira/browse/HDFS-6660
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 2.4.1
> Reporter: Amir Langer
> Assignee: Amir Langer
> Attachments:
> 0002-add-an-integer-id-to-all-storages-in-DatanodeManager.patch
>
>
> Map an int index to every DatanodeStorageInfo and use it instead of object
> reference in the BlockInfo triplets data structure.
--
This message was sent by Atlassian JIRA
(v6.2#6252)