[
https://issues.apache.org/jira/browse/HDFS-8289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531694#comment-14531694
]
Jing Zhao commented on HDFS-8289:
---------------------------------
Ahh, I see why you move ECSchemaProto into hdfs.proto. Please skip comment #4.
> DFSStripedOutputStream uses an additional rpc all to getErasureCodingInfo
> -------------------------------------------------------------------------
>
> Key: HDFS-8289
> URL: https://issues.apache.org/jira/browse/HDFS-8289
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Yong Zhang
> Attachments: HDFS-8289.000.patch, HDFS-8289.001.patch
>
>
> {code}
> // ECInfo is restored from NN just before writing striped files.
> ecInfo = dfsClient.getErasureCodingInfo(src);
> {code}
> The rpc call above can be avoided by adding ECSchema to HdfsFileStatus.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)