Return-Path: Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: (qmail 14599 invoked from network); 7 Apr 2010 13:25:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Apr 2010 13:25:49 -0000 Received: (qmail 64873 invoked by uid 500); 7 Apr 2010 13:25:49 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 64809 invoked by uid 500); 7 Apr 2010 13:25:48 -0000 Mailing-List: contact hdfs-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-user@hadoop.apache.org Delivered-To: mailing list hdfs-user@hadoop.apache.org Received: (qmail 64801 invoked by uid 99); 7 Apr 2010 13:25:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 13:25:48 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=AWL,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [198.182.60.77] (HELO alvesta.synopsys.com) (198.182.60.77) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Apr 2010 13:25:40 +0000 Received: from maiden.synopsys.com (maiden.synopsys.com [146.225.100.170]) by alvesta.synopsys.com (Postfix) with ESMTP id 4D14F5AF95 for ; Wed, 7 Apr 2010 06:25:20 -0700 (PDT) Received: from us01wxhtc3.internal.synopsys.com (localhost [127.0.0.1]) by maiden.synopsys.com (8.9.1/8.9.1) with ESMTP id GAA12852 for ; Wed, 7 Apr 2010 06:25:20 -0700 (PDT) Received: from de02wxhtc2.internal.synopsys.com (10.225.4.83) by us01wxhtc3.internal.synopsys.com (10.12.231.72) with Microsoft SMTP Server (TLS) id 8.1.375.2; Wed, 7 Apr 2010 06:25:19 -0700 Received: from DE02WXMBX1.internal.synopsys.com ([10.225.4.77]) by de02wxhtc2.internal.synopsys.com ([10.225.4.83]) with mapi; Wed, 7 Apr 2010 15:25:17 +0200 From: Alan Miller To: "hdfs-user@hadoop.apache.org" Date: Wed, 7 Apr 2010 15:24:56 +0200 Subject: append operations Thread-Topic: append operations Thread-Index: AcrWVbdP8euTnQlcTRWUGVOgFEQ/9Q== Message-ID: <44D26BA5956F814DBB6754A30299EF1F02B6D45AF0@DE02WXMBX1.internal.synopsys.com> Accept-Language: en-US Content-Language: en-US acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_44D26BA5956F814DBB6754A30299EF1F02B6D45AF0DE02WXMBX1int_" MIME-Version: 1.0 --_000_44D26BA5956F814DBB6754A30299EF1F02B6D45AF0DE02WXMBX1int_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I'm just getting started with HDFS and I'm using the java API. What's the best way to synchronize files between my local and hdfs file sys= tems. I.e. if a 10G file only grows by 1G, I'd rather just append the 1G instead = or copying the full 11G. >From my understanding append operations haven't been implemented in HDFS ye= t. Is there any news or the status on this? I was hoping to implement something myself (using a FileInputStream and FSDataOutputStream) but FSDataOutputStream is not seekable. Any suggestions? Regards, Alan --_000_44D26BA5956F814DBB6754A30299EF1F02B6D45AF0DE02WXMBX1int_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m just getting started with HDFS and I’m= using the java API.

What’s the best way to synchronize files between= my local and hdfs file systems.

I.e. if a 10G file only grows by 1G, I’d rather = just append the 1G instead or copying the full 11G.

 

From my understanding append operations haven’t = been implemented in HDFS yet.

Is there=A0 any news or the status on this?=

 

I was hoping to implement something =A0myself (using a FileInputStream and

FSDataOutputStream) but =A0FSDataOutputStream is not s= eekable.

 

Any suggestions?

 

Regards,

Alan

--_000_44D26BA5956F814DBB6754A30299EF1F02B6D45AF0DE02WXMBX1int_--