hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei-Chiu Chuang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10971) Distcp should not copy replication factor if source file is erasure coded
Date Thu, 06 Oct 2016 18:34:20 GMT
Wei-Chiu Chuang created HDFS-10971:
--------------------------------------

             Summary: Distcp should not copy replication factor if source file is erasure
coded
                 Key: HDFS-10971
                 URL: https://issues.apache.org/jira/browse/HDFS-10971
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: distcp
    Affects Versions: 3.0.0-alpha1
            Reporter: Wei-Chiu Chuang
            Assignee: Wei-Chiu Chuang


The current erasure coding implementation uses replication refactor field to store erasure
coding policy.

Distcp copies the source file's replication refactor to the destination if -pr is specified.
However, if the source file is EC, the replication factor (which is EC policy) should not
be replicated to the destination file.

In fact, I will attach a test case that shows trying to replicate the replication factor of
an EC file results in an IOException: "Requested replication factor of 0 is less than the
required minimum of 1 for /tmp/dst/dest2"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message