Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34A5ADBCB for ; Tue, 25 Sep 2012 05:59:42 +0000 (UTC) Received: (qmail 31796 invoked by uid 500); 25 Sep 2012 05:59:37 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 31538 invoked by uid 500); 25 Sep 2012 05:59:34 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 31508 invoked by uid 99); 25 Sep 2012 05:59:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 05:59:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stutiawasthi@hcl.com designates 203.105.185.23 as permitted sender) Received: from [203.105.185.23] (HELO gws05.hcl.com) (203.105.185.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2012 05:59:25 +0000 X-IronPort-AV: E=Sophos;i="4.80,479,1344191400"; d="scan'208";a="12643303" Received: from unknown (HELO NDA-HCLIN-HT01.CORP.HCL.IN) ([10.248.64.35]) by gws05.hcl.com with ESMTP/TLS/RC4-MD5; 25 Sep 2012 11:24:09 +0530 Received: from NDA-HCLC-HT02.HCLC.CORP.HCL.IN (10.33.64.134) by NDA-HCLIN-HT01.CORP.HCL.IN (10.248.64.35) with Microsoft SMTP Server (TLS) id 8.3.245.1; Tue, 25 Sep 2012 11:29:02 +0530 Received: from NDA-HCLC-EVS02.HCLC.CORP.HCL.IN ([fe80::ad0f:93a5:83ef:76af]) by NDA-HCLC-HT02.HCLC.CORP.HCL.IN ([fe80::59bd:b0cb:657b:3d97%11]) with mapi; Tue, 25 Sep 2012 11:29:02 +0530 From: Stuti Awasthi To: "user@hadoop.apache.org" Date: Tue, 25 Sep 2012 11:28:59 +0530 Subject: Copying directories using distcp Thread-Topic: Copying directories using distcp Thread-Index: Ac2a4gKfWhxDg4q6TzyMSuUEfTJRgA== Message-ID: <50CFD234CC7D3A4EA1E8910D3866F70004419B8D47@NDA-HCLC-EVS02.HCLC.CORP.HCL.IN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi all, I have data in S3 bucket in different folders and want to copy to HDFS dire= ctly . I used Distcp to copy files to HDFS by specifying complete s3 path o= f the file. I have 2 queries : 1. Can I copy the entire folder from S3 to HDFS using distcp. 2. Can I generate the exact input folder replica on HDFS as destination fol= der. I tried using -f but in that also, I need to provide the complet= e path of the S3 files. Please suggest Stuti ::DISCLAIMER:: ---------------------------------------------------------------------------= ------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and inte= nded for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as informa= tion could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in trans= mission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability = on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the = author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, disse= mination, copying, disclosure, modification, distribution and / or publication of this message without the prior written= consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please= delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses = and other defects. ---------------------------------------------------------------------------= -------------------------------------------------------------------------