sadanand48 opened a new pull request, #5885: URL: https://github.com/apache/hadoop/pull/5885
### Description of PR Currently for Diff-based copyListing that is used during the distcpSync step of an incremental copy by default the SimpleCopyListing implementation is used. In it's implementation it iterates through the DiffReport and if the DiffType is Create and the path is a directory, it recursively traverses the directory and adds the subpaths to the resultant copyList. This PR adds a copyListing implementation which only considers flat paths in snapshotDiff report & doesn't traverse directories recursively. There is no impact to existing behaviour as the default copyListing impl for diff based copy is SimpleCopyListing but can be overridden if desired using a config. https://issues.apache.org/jira/browse/HDFS-17120 ### How was this patch tested? ### For code changes: Added Unit tests -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
