[ https://issues.apache.org/jira/browse/HDFS-5009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13753543#comment-13753543 ]
Junping Du commented on HDFS-5009: ---------------------------------- Sure. Nicholas. I am glad to help here. Yes. That sounds good to me. So StorageTypes[] previously added in HDFS-4985 is duplicated and keep one here is necessary. Right? BTW, move package for DatanodeStorage is a nice to have but not must. Isn't it? > NameNode should expose storage information in the LocatedBlock > -------------------------------------------------------------- > > Key: HDFS-5009 > URL: https://issues.apache.org/jira/browse/HDFS-5009 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: namenode > Affects Versions: 3.0.0 > Reporter: Arpit Agarwal > Assignee: Tsz Wo (Nicholas), SZE > > The storage type is optionally reported by the DataNode along with block > report. The NameNode should make this information available to clients via > LocatedBlock. > Also, LocatedBlock is used in reportBadBlocks(..). We should add storage ID > to LocatedBlock. -- 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