[ 
https://issues.apache.org/jira/browse/HDFS-17376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17815909#comment-17815909
 ] 

ASF GitHub Bot commented on HDFS-17376:
---------------------------------------

sadanand48 commented on PR #6540:
URL: https://github.com/apache/hadoop/pull/6540#issuecomment-1935358055

   @sodonnel Could you please take a look?




> 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
>              Labels: pull-request-available
>
> 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]

Reply via email to