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

Zhe Zhang commented on HDFS-9050:
---------------------------------

[~szetszwo] My original thought was to simplify the code and make the role of 
{{updatePipeLine}} easier to understand. But based on discussions under 
HDFS-9040, I think it's useful to notify NN of the "temporarily committed" 
block length as well. Closing this JIRA as invalid.

> updatePipeline RPC call should only update the GS of the block
> --------------------------------------------------------------
>
>                 Key: HDFS-9050
>                 URL: https://issues.apache.org/jira/browse/HDFS-9050
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.7.1
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>         Attachments: HDFS-9050.00.patch
>
>
> The only usage of the call is in {{DataStreamer#updatePipeline}}, where 
> {{newBlock}} differs from current {{block}} only in GS.
> Basically the RPC call is not supposed to update the {{poolID}}, {{ID}}, or 
> {{numBytes}} of the block on NN.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to