[
https://issues.apache.org/jira/browse/HDFS-9050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739694#comment-14739694
]
Jing Zhao commented on HDFS-9050:
---------------------------------
Thanks for working on this, Zhe. But looks like the patch will cause wire
incompatibility, since a required field is removed from the protobuf msg?
I think for error handling of striped files, updatePipeline RPC call itself may
not be the most critical part. We need to use this RPC call to report the block
and corresponding datanode information to NN, and it's better to keep all the
information related to the block in the RPC request.
> 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)