sadanand48 opened a new pull request, #6540: URL: https://github.com/apache/hadoop/pull/6540
### Description of PR 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. ### How was this patch tested? Added a unit test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org