[ https://issues.apache.org/jira/browse/HDFS-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750717#comment-13750717 ]
Tsz Wo (Nicholas), SZE commented on HDFS-4987: ---------------------------------------------- Arpit, thanks for the comments. For #1, I tried to move blockContentsStale to be per storage but it is quite involved. How about we move it when we change block report to be per storage? For #2, I added storageType to DatanodeStorageInfo. I also found another problem that LocatedBlock was used in reportBadBlocks(..) but it did not have storage ID. I think we need to add storage ID to LocatedBlock. I will file a JIRA. > Namenode changes to track multiple storages > ------------------------------------------- > > Key: HDFS-4987 > URL: https://issues.apache.org/jira/browse/HDFS-4987 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Reporter: Suresh Srinivas > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h4987_20130822.patch > > > Currently namenode track in BlockInfo, the corresponding DataNodeDescriptor. > I propose changing this with new abstraction StorageDescriptor. This change > will also make DatanodeDescriptor a collection of StroageDescriptors. This > will allow given a block, identify its storage and also Datanode. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira