[ 
https://issues.apache.org/jira/browse/HDFS-4987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13750874#comment-13750874
 ] 

Junping Du commented on HDFS-4987:
----------------------------------

One additional comment is we can do iteration blocks on DN for specific 
StorageID (we may add API for it later). Now, for each StorageBlockReport, it 
will iterate the whole block list which seems not the most efficient way.
                
> 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, h4987_20130827.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

Reply via email to