Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 17744 invoked from network); 18 Dec 2008 03:19:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 03:19:28 -0000 Received: (qmail 28610 invoked by uid 500); 18 Dec 2008 03:19:35 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 28562 invoked by uid 500); 18 Dec 2008 03:19:34 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 28551 invoked by uid 99); 18 Dec 2008 03:19:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2008 19:19:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.186] (HELO n74.bullet.mail.sp1.yahoo.com) (98.136.44.186) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 18 Dec 2008 03:19:12 +0000 Received: from [69.147.65.174] by n74.bullet.mail.sp1.yahoo.com with NNFMP; 18 Dec 2008 03:18:52 -0000 Received: from [69.147.84.100] by t12.bullet.mail.sp1.yahoo.com with NNFMP; 18 Dec 2008 03:18:51 -0000 Received: from [127.0.0.1] by omp201.mail.sp1.yahoo.com with NNFMP; 18 Dec 2008 03:18:51 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 966822.57533.bm@omp201.mail.sp1.yahoo.com Received: (qmail 11283 invoked by uid 60001); 18 Dec 2008 03:18:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=KcbKWldhuTqhR4CYuW/0yO4fT2byMc2SrziuqcBDS9suTSM1rRXrr1Kh1/9hITsou66FPzXW1jgWnzGgv+gIeYYDNKqrTqTnKK4g3UQIdxvkBnSg0lFRn2shIPdnwOcrp3+zsSOdEh1uLJmuPAu9qYaagkroSv4WFA9WFEqCJR8=; X-YMail-OSG: gTo6HUUVM1kPsg9MmnN7a9WHxzlJuiyITZdZNwlfHgWm1STB5VCuhtu4eJAkncCB4IY.v68FEXel26hFeYdghMFViuBnnwAcN7qM3NJK0J1FDdV6sNagrVmgO_gdJFLWxOeXpdCWoexKU_FpOqv6QPtldL0- Received: from [24.62.107.64] by web45402.mail.sp1.yahoo.com via HTTP; Wed, 17 Dec 2008 19:18:51 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Wed, 17 Dec 2008 19:18:51 -0800 (PST) From: C G Reply-To: parallelguy@yahoo.com Subject: Copy data between HDFS instances... To: core-user@hadoop.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <741080.9764.qm@web45402.mail.sp1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi All: I am setting up 2 grids, each with its own HDFS. The grids are unaware of each other but exist on the same network. I'd like to copy data from one HDFS to the other. Is there a way to do this simply, or do I need to cobble together scripts to copy from HDFS on one side and pipe to a dfs -cp on the other side? I tried something like this: hadoop dfs -ls hdfs://grid1NameNode:portNo/ from grid2 trying to ls on grid1 but got a "wrong FS" error message. I also tried: hadoop dfs -ls hdfs://grid1NameNode:portNo/foo on grid2 where "/foo" exists on grid1 and got 0 files found. I assume there is some way to do this and I just don't have the right command line magic. This is Hadoop 0.15.0. Any help appreciated. Thanks, C G