hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yiqun Lin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-11598) Improve -setrep for Erasure Coded files
Date Fri, 31 Mar 2017 10:37:41 GMT

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

Yiqun Lin updated HDFS-11598:
    Attachment: HDFS-11598.001.patch

Thanks for catching this, [~jojochuang]!
I take some time to make this improvement. It's a minor change but it should be nice to have
in hdfs ec.
Attach my patch. Kindly review. Thanks.

> Improve -setrep for Erasure Coded files
> ---------------------------------------
>                 Key: HDFS-11598
>                 URL: https://issues.apache.org/jira/browse/HDFS-11598
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Wei-Chiu Chuang
>            Assignee: Yiqun Lin
>              Labels: hdfs-ec-3.0-nice-to-have
>         Attachments: HDFS-11598.001.patch
> Quoting my comments in HDFS-10974:
> {quote}
> Looking at code again, I think we can improve the handling of EC files better:
> * In SetReplication#processPath, can we check if the file is EC before invoking setReplication()
on it?
> * -setrep also has a command switch -w to wait for the file to be replicated. Can we
ignore this if the file is erasure coded?
> {quote}
> Also, in fact, -setrep only make sense for HDFS file system...

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message