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

Tsz Wo (Nicholas), SZE commented on HDFS-5390:
----------------------------------------------

- PerStoragePendingIncrementalBR is only used in BPServiceActor.  How about 
moving it as an inner class of BPServiceActor?

- Remove the blockID parameter from 
PerStoragePendingIncrementalBR.putBlockInfo(..) and get block id from blockInfo.

- Question: In BPServiceActor.reportReceivedDeletedBlocks(), should we combine 
the reports and send it once since 
DatanodeProtocolClientSideTranslatorPB.blockReceivedAndDeleted(..) could pass 
an array of storages?  Or we should change blockReceivedAndDeleted(..) to 
handle only one storage (we can do it separately)?

- The javadoc of BlockReceiver.getReplicaInfo() is incorrect.

- Add @Override to ReplicaInfo.getStorageUuid().


> Incremental block reports should be sent per storage directory
> --------------------------------------------------------------
>
>                 Key: HDFS-5390
>                 URL: https://issues.apache.org/jira/browse/HDFS-5390
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>    Affects Versions: Heterogeneous Storage (HDFS-2832)
>            Reporter: Arpit Agarwal
>            Assignee: Arpit Agarwal
>         Attachments: h5390.03.patch
>
>
> Incremental block reports should be sent per storage directory since the 
> NameNode now expects all block reports to be sent per storage. Currently the 
> Datanode tracks pending incremental block reports for all storages in a 
> single queue.
> This is a continuation of the work started by HDFS-5134 and HDFS-4988 to 
> split block processing per storage directory.



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

Reply via email to