[
https://issues.apache.org/jira/browse/HDFS-17376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sadanand Shenoy updated HDFS-17376:
-----------------------------------
Description:
If the source file is EC, distcp without preserve option creates a 1
replication file (this is not intended).
This is because for an EC file getReplication() always return 1 . Instead it
should create the file as per the default replication on the target.
was:If the source file is EC, distcp without preserve option creates a 1
replication file (this is not intended). Instead it should create the file as
per the default replication on the target.
> Distcp creates Factor 1 replication file on target if Source is EC
> ------------------------------------------------------------------
>
> Key: HDFS-17376
> URL: https://issues.apache.org/jira/browse/HDFS-17376
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: distcp
> Affects Versions: 3.3.6
> Reporter: Sadanand Shenoy
> Assignee: Sadanand Shenoy
> Priority: Major
>
> If the source file is EC, distcp without preserve option creates a 1
> replication file (this is not intended).
> This is because for an EC file getReplication() always return 1 . Instead it
> should create the file as per the default replication on the target.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]