steveloughran commented on a change in pull request #1702: HDFS-14788 Use dynamic regex filter to ignore copy of source files in… URL: https://github.com/apache/hadoop/pull/1702#discussion_r351372167
########## File path: hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm ########## @@ -440,6 +440,23 @@ $H3 Copy-listing Generator of DistCp differs here from the legacy DistCp, in how paths are considered for copy. + One may also customize the filtering of files which shouldn't be copied + by passing the current supported implementation of CopyFilter interface + or a new implementation can be written. This can be specified by setting the + `distcp.filters.class` in the DistCpOptions: + + 1. `distcp.filters.class` to RegexCopyFilter. If you are using this implementation, + you will have to pass along CopyFilter`distcp.filters.file` which contains the regex Review comment: 1. add space before the tick 2. use `quotes` around all classnames ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org