Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 568FE105B3 for ; Thu, 29 Aug 2013 20:36:08 +0000 (UTC) Received: (qmail 89438 invoked by uid 500); 29 Aug 2013 20:36:01 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 89255 invoked by uid 500); 29 Aug 2013 20:36:01 -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 89230 invoked by uid 99); 29 Aug 2013 20:36:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 20:36:00 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chengi.liu.86@gmail.com designates 209.85.220.49 as permitted sender) Received: from [209.85.220.49] (HELO mail-pa0-f49.google.com) (209.85.220.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 20:35:55 +0000 Received: by mail-pa0-f49.google.com with SMTP id ld10so1389835pab.36 for ; Thu, 29 Aug 2013 13:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qlD5n5TXDmLuMwEexf+lAa/06p3nQk2ubP8pVjeNDtM=; b=dBJqWsHpTsezXeNSw+Cf/ijevO+i04cEQsP815WwY5xE5ZzzJpFmIpSq72lGoJ0S9a gyHzQxirOy8KIia90MNSGs2jInioxzjsXEkwepAra4nMdFUk/Hz0jficai09nhkfIxIZ 8c4AJu5TPnWnbuhFZQHrb57Ueoqds+3fR9hWNuAoqeDJg+dHRH8oONUxhOyWH5UQ/qQw UmtRbgzL+043DwLWuQioczoZFZsW4mpnJAfOMZtF3VKMRbvnetlsVlbeaaDSEJXE0oVk lHi72qvBfAUorklaeX+DVR+JPi86UZdgZLRmIbWNPMHPgVySRN8Oc51VnjoFuPF6H5/d +dYQ== MIME-Version: 1.0 X-Received: by 10.67.5.132 with SMTP id cm4mr4317887pad.186.1377808535248; Thu, 29 Aug 2013 13:35:35 -0700 (PDT) Received: by 10.70.28.130 with HTTP; Thu, 29 Aug 2013 13:35:35 -0700 (PDT) Date: Thu, 29 Aug 2013 13:35:35 -0700 Message-ID: Subject: copy files from hdfs to local fs From: Chengi Liu To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b15ab314fe34e04e51c0c1d X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15ab314fe34e04e51c0c1d Content-Type: text/plain; charset=ISO-8859-1 Ok, A very stupid question... I have a large file in /user/input/foo.txt I want to copy first 100 lines from this location to local filesystem... And the data is very sensitive so i am bit hesistant to experiment. What is the right way to copy sample data from hdfs to local fs. --047d7b15ab314fe34e04e51c0c1d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Ok,

=A0 A very stupid questi= on...

I have a large file in=A0

=A0 =A0 /user/input/foo.txt

I want to copy = first 100 lines from this location to local filesystem...

And the data is very sensitive so i am bit hesistant to= experiment.

What is the right way to copy sample = data from hdfs to local fs.

--047d7b15ab314fe34e04e51c0c1d--