[
https://issues.apache.org/jira/browse/HADOOP-14570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved HADOOP-14570.
--------------------------------------
Resolution: Duplicate
> Distcp --dry-run switch to show what files would copy like rsync
> ----------------------------------------------------------------
>
> Key: HADOOP-14570
> URL: https://issues.apache.org/jira/browse/HADOOP-14570
> Project: Hadoop Common
> Issue Type: New Feature
> Components: tools/distcp
> Affects Versions: 2.7.3
> Environment: HDP 2.5.0, HDP 2.6.0 with Kerberos
> Reporter: Hari Sekhon
> Priority: Major
>
> Feature Request to add -n / --dry-run switches to print what files would be
> copied from which source to which destination paths without actually
> launching the maps to do the copying.
> This is useful for testing exclusion -filters and also to see the destination
> paths as the -update/-overwrite behaviour of not copying the top level source
> folder can trip up even those of us who know the behaviour difference so it's
> nice to be able to print as a first step without doing the operation. This is
> what linux admins have been doing forever with rsync.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]