Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 15341 invoked from network); 17 Apr 2007 10:46:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2007 10:46:03 -0000 Received: (qmail 47838 invoked by uid 500); 17 Apr 2007 10:46:07 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 47817 invoked by uid 500); 17 Apr 2007 10:46:07 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Received: (qmail 47808 invoked by uid 99); 17 Apr 2007 10:46:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 03:46:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [203.99.254.143] (HELO rsmtp1.corp.hki.yahoo.com) (203.99.254.143) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Apr 2007 03:45:58 -0700 Received: from ddaslaptop (ddas-laptop.bangalore.corp.yahoo.com [10.80.42.89]) (authenticated bits=0) by rsmtp1.corp.hki.yahoo.com (8.13.8/8.13.6/y.rout) with ESMTP id l3HAjI5X082574 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 17 Apr 2007 03:45:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=from:to:references:subject:date:message-id:mime-version: content-type:content-transfer-encoding:x-mailer:in-reply-to:x-mimeole:thread-index; b=cJU3jnf3si1MiBabUw20jME6khDbbI6+7sAzqpn+pLtJ+cIXe1b9OgeRhEyFK2YU From: "Devaraj Das" To: References: <1ab53710704170318y60495016v5d91ee5863008ed4@mail.gmail.com> Subject: RE: appending to a file Date: Tue, 17 Apr 2007 16:15:17 +0530 Message-ID: <010101c780dd$7e58e030$592a500a@ds.corp.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1ab53710704170318y60495016v5d91ee5863008ed4@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AceA2eFUzpt7ynCkRw289S3o5eilZwAAxp/Q X-Virus-Checked: Checked by ClamAV on apache.org It is not possible to do direct appends to an existing file. One possible work around - create a new temp file whenever you want to do an append. Copy data from all those temp files into one big file as and when you desire. > -----Original Message----- > From: Enav Itamar [mailto:dontaskwhy@gmail.com] > Sent: Tuesday, April 17, 2007 3:49 PM > To: hadoop-user@lucene.apache.org > Subject: appending to a file > > Hi all! > > I'm new to hadoop, and I didn't find any method which allows appending to > a > file. > Can anyone give an example of how to do this? > > Thanks, > Einav