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

Tsz Wo Nicholas Sze commented on HDFS-9050:
-------------------------------------------

What are the advantages by restricting updatePipeline RPC to only update the GS 
of the block?

> 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