hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yjzhan...@apache.org
Subject hadoop git commit: HADOOP-13199. Add doc for distcp -filters. (John Zhuge via Yongjun Zhang)
Date Fri, 27 May 2016 06:33:27 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 41c02757a -> 82a88c7e6

HADOOP-13199. Add doc for distcp -filters. (John Zhuge via Yongjun Zhang)

(cherry picked from commit cfb860dee72a27382a26bf450bb8b16784aeebbb)

Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/82a88c7e
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/82a88c7e
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/82a88c7e

Branch: refs/heads/branch-2
Commit: 82a88c7e67ec6209805e7e615038f7ce1519691b
Parents: 41c0275
Author: Yongjun Zhang <yzhang@cloudera.com>
Authored: Thu May 26 23:30:31 2016 -0700
Committer: Yongjun Zhang <yzhang@cloudera.com>
Committed: Thu May 26 23:32:46 2016 -0700

 hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm b/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm
index 12db933..91bd913 100644
--- a/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm
+++ b/hadoop-tools/hadoop-distcp/src/site/markdown/DistCp.md.vm
@@ -226,6 +226,7 @@ Flag              | Description                          | Notes
 `-update` | Overwrite if source and destination differ in size, blocksize, or checksum |
As noted in the preceding, this is not a "sync" operation. The criteria examined are the source
and destination file sizes, blocksizes, and checksums; if they differ, the source file replaces
the destination file. As discussed in the Usage documentation, it also changes the semantics
for generating destination paths, so users should use this carefully.
 `-append` | Incremental copy of file with same name but different length | If the source
file is greater in length than the destination file, the checksum of the common length part
is compared. If the checksum matches, only the difference is copied using read and append
functionalities. The -append option only works with `-update` without `-skipcrccheck`
 `-f <urilist_uri>` | Use list at \<urilist_uri\> as src list | This is equivalent
to listing each source on the command line. The `urilist_uri` list should be a fully qualified
+`-filters` | The path to a file containing a list of pattern strings, one string per line,
such that paths matching the pattern will be excluded from the copy. | Support regular expressions
specified by java.util.regex.Pattern.
 `-filelimit <n>` | Limit the total number of files to be <= n | **Deprecated!**
Ignored in the new DistCp.
 `-sizelimit <n>` | Limit the total size to be <= n bytes | **Deprecated!** Ignored
in the new DistCp.
 `-delete` | Delete the files existing in the dst but not in src | The deletion is done by
FS Shell. So the trash will be used, if it is enable.

To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org

View raw message