You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Hari Sekhon (JIRA)" <ji...@apache.org> on 2017/06/22 16:03:00 UTC

[jira] [Created] (HADOOP-14570) Distcp --dry-run switch to show what files would copy like rsync

Hari Sekhon created HADOOP-14570:
------------------------------------

             Summary: 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


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
(v6.4.14#64029)

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