hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yong Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8289) DFSStripedOutputStream uses an additional rpc all to getErasureCodingInfo
Date Thu, 07 May 2015 03:20:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yong Zhang updated HDFS-8289:
-----------------------------
    Attachment: HDFS-8289.002.patch

Thanks [~jingzhao] for reviewing.
add a new patch based on your advice.

> 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, HDFS-8289.002.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)

Mime
View raw message