Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 802A6D1FD for ; Thu, 8 Nov 2012 23:07:25 +0000 (UTC) Received: (qmail 48153 invoked by uid 500); 8 Nov 2012 23:07:20 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 48051 invoked by uid 500); 8 Nov 2012 23:07:20 -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 48044 invoked by uid 99); 8 Nov 2012 23:07:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 23:07:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mlortiz@uci.cu designates 200.55.140.180 as permitted sender) Received: from [200.55.140.180] (HELO mx3.uci.cu) (200.55.140.180) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 08 Nov 2012 23:07:15 +0000 Received: (qmail 20497 invoked by uid 507); 8 Nov 2012 23:06:49 -0000 Received: from 10.0.0.185 by ns3.uci.cu (envelope-from , uid 501) with qmail-scanner-2.01st (avp: 5.0.2.0. spamassassin: 3.0.6. perlscan: 2.01st. Clear:RC:1(10.0.0.185):. Processed in 0.78507 secs); 08 Nov 2012 23:06:49 -0000 Received: from unknown (HELO ucimail4.uci.cu) (10.0.0.185) by 0 with SMTP; 8 Nov 2012 23:06:48 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by ucimail4.uci.cu (Postfix) with ESMTP id 3ABAC14C4007 for ; Thu, 8 Nov 2012 18:06:48 -0500 (EST) X-Virus-Scanned: amavisd-new at uci.cu Received: from ucimail4.uci.cu ([127.0.0.1]) by localhost (ucimail4.uci.cu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ins0B12yQ+bA; Thu, 8 Nov 2012 18:06:42 -0500 (EST) Received: by ucimail4.uci.cu (Postfix, from userid 101) id 6961714C4002; Thu, 8 Nov 2012 18:06:42 -0500 (EST) Received: from ucimail4.uci.cu (ucimail4.uci.cu [10.0.0.185]) by ucimail4.uci.cu (Postfix) with ESMTP id 59E1C14C4001; Thu, 8 Nov 2012 18:06:42 -0500 (EST) Date: Thu, 08 Nov 2012 18:06:42 -0500 (CST) From: " Marcos Ortiz Valmaseda" To: dontariq@gmail.com Cc: user@hadoop.apache.org Subject: Re: hadoop - running examples Message-ID: <54b98ea0-6874-4e92-8580-d23bea6de912@ucimail4.uci.cu> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: Zimbra 7.1.3_GA_3346 (zclient/7.1.3_GA_3346) X-Virus-Checked: Checked by ClamAV on apache.org Mohammad is right. When you write a file to HDFS, it can=C2=B4t be modified. The pattern in HDFS is write-one/read-many-times. If you want to use a distribution where you can read and write files, you s= hould take a look to MapR distribution. ----- Mensaje original ----- De: Mohammad Tariq Para: user@hadoop.apache.org Enviado: Thu, 08 Nov 2012 17:33:56 -0500 (CST) Asunto: Re: hadoop - running examples Apologies for the wrong word. Yes, I meant non modifiable. Regards, Mohammad Tariq On Fri, Nov 9, 2012 at 4:01 AM, Jay Vyas wrote: > What do you mean immutable? Do u mean non modifiable maybe .? Immutable > implies that they can't be deleted . > > Jay Vyas > MMSB > UCHC > > On Nov 8, 2012, at 5:28 PM, Mohammad Tariq wrote: > > Files are immutable, once written into the Hdfs. And touchz creates a fil= e > of 0 length. > > Regards, > Mohammad Tariq > > > > On Fri, Nov 9, 2012 at 3:18 AM, Kartashov, Andy w= rote: > >> Guys, >> >> When running examples, you bring them into HDFS. Say, you need to make >> some correction to a file, you need to make them on local FS and run >> $hadoop fs -put ... again. You cannot just make changes to files inside >> HDFS except for "touchz" a file, correct? >> >> Just making sure. >> >> Thnx, >> AK >> NOTICE: This e-mail message and any attachments are confidential, subjec= t >> to copyright and may be privileged. Any unauthorized use, copying or >> disclosure is prohibited. If you are not the intended recipient, please >> delete and contact the sender immediately. Please consider the environme= nt >> before printing this e-mail. AVIS : le pr=C3=A9sent courriel et toute pi= =C3=A8ce >> jointe qui l'accompagne sont confidentiels, prot=C3=A9g=C3=A9s par le dr= oit d'auteur >> et peuvent =C3=AAtre couverts par le secret professionnel. Toute utilisa= tion, >> copie ou divulgation non autoris=C3=A9e est interdite. Si vous n'=C3=AAt= es pas le >> destinataire pr=C3=A9vu de ce courriel, supprimez-le et contactez imm= =C3=A9diatement >> l'exp=C3=A9diteur. Veuillez penser =C3=A0 l'environnement avant d'imprim= er le pr=C3=A9sent >> courriel >> > > 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION http://www.uci.cu http://www.facebook.com/universidad.uci http://www.flickr.com/photos/universidad_uci