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

Aaron T. Myers commented on HDFS-2972:
--------------------------------------

+1, the patch looks good to me. Thanks a lot, Todd.
                
> HA: small optimization building incremental block report
> --------------------------------------------------------
>
>                 Key: HDFS-2972
>                 URL: https://issues.apache.org/jira/browse/HDFS-2972
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node, ha
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hdfs-2972.txt
>
>
> Current the incremental block report is a List. However, we only really need 
> to send the most recent information for each block. So, if a block becomes 
> RBW and is then becomes FINALIZED before the next incremental block report, 
> we should just report the FINALIZED replica. It's an easy change to just 
> switch to a map by blockid.
> This is on the HA branch since HA changes the code to send RBWs in the 
> incremental reports, hence it's more important for maintaining performance 
> parity with trunk.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to