Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CED16200CAF for ; Thu, 22 Jun 2017 18:03:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CDB8B160BE7; Thu, 22 Jun 2017 16:03:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1BEEB160BE5 for ; Thu, 22 Jun 2017 18:03:06 +0200 (CEST) Received: (qmail 50798 invoked by uid 500); 22 Jun 2017 16:03:05 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 50678 invoked by uid 99); 22 Jun 2017 16:03:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2017 16:03:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 654E21AFCA6 for ; Thu, 22 Jun 2017 16:03:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lN1-owlFumst for ; Thu, 22 Jun 2017 16:03:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5C57C5FE1A for ; Thu, 22 Jun 2017 16:03:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 757ECE0DE5 for ; Thu, 22 Jun 2017 16:03:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7EC54240C7 for ; Thu, 22 Jun 2017 16:03:00 +0000 (UTC) Date: Thu, 22 Jun 2017 16:03:00 +0000 (UTC) From: "Hari Sekhon (JIRA)" To: common-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-14570) Distcp --dry-run switch to show what files would copy like rsync MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 22 Jun 2017 16:03:08 -0000 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