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

Virajith Jalaparti commented on HDFS-12894:
-------------------------------------------

Trivial patch attached. /cc [~elgoiri], [~chris.douglas]

> [READ] Skip setting block count of ProvidedDatanodeStorageInfo on DN 
> registration update
> ----------------------------------------------------------------------------------------
>
>                 Key: HDFS-12894
>                 URL: https://issues.apache.org/jira/browse/HDFS-12894
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Virajith Jalaparti
>            Assignee: Virajith Jalaparti
>         Attachments: HDFS-12894-HDFS-9806.001.patch
>
>
> As the {{ProvidedDatanodeStorageInfo}} is shared across multiple Datanodes, 
> it's block count shouldn't be set to 0 (in 
> {{DatanodeDescriptor.updateRegInfo}}) when any one Datanode's registration 
> info is updated. This prevents {{processFirstBlockReport}} from being called 
> multiple times for {{ProvidedDatanodeStorageInfo}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to