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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org