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 DA6AB11107 for ; Sat, 23 Aug 2014 05:50:29 +0000 (UTC) Received: (qmail 73305 invoked by uid 500); 23 Aug 2014 05:50:23 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 73169 invoked by uid 500); 23 Aug 2014 05:50:23 -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 73153 invoked by uid 99); 23 Aug 2014 05:50:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 05:50:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jagatsingh@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vc0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 05:50:17 +0000 Received: by mail-vc0-f171.google.com with SMTP id hq11so13227230vcb.2 for ; Fri, 22 Aug 2014 22:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mu/1gRNbdT52FeYtwycMCZb+xe2yhJfkCxOvuB+NUd0=; b=rPSDFKruHNBcfM56hLc3pgQr1l6dtsYop4sB4o2o9QDrPt9Uxh/0vnL0+DoMZ0Tlwd t2cJkHXuMzSatIgDG4L8k9fonx9n7ko8A881isJeBQsfPBAjhvaDjyD/1MVklT4CjvXY ELT20Lxk2A9J67PhIJ1f+vdryE/4lMhSK0NAVYLJuOZRftw9uFKuvT2QfeXRC230o8Bj GkCUxN72QiPZSTybH5mxIYHXfcM9CV1RrY5YQtfK8dEG8nrNLLNtVbhz+dS+LBhcuxDA X4oALxOWQZbqFAESLgOkFQbHr7cKQpb8qZ6ZMG/2AHwHnUJQKrmQNfSeStvJJt2ibGFb YkqQ== MIME-Version: 1.0 X-Received: by 10.53.5.163 with SMTP id cn3mr2744499vdd.3.1408772996834; Fri, 22 Aug 2014 22:49:56 -0700 (PDT) Received: by 10.220.177.66 with HTTP; Fri, 22 Aug 2014 22:49:56 -0700 (PDT) In-Reply-To: References: Date: Sat, 23 Aug 2014 15:49:56 +1000 Message-ID: Subject: Re: Appending to HDFS file From: Jagat Singh To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a1133ce6e0bae8305014586fb X-Virus-Checked: Checked by ClamAV on apache.org --001a1133ce6e0bae8305014586fb Content-Type: text/plain; charset=UTF-8 What is value of dfs.support.append in hdfs-site.cml https://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml On Sat, Aug 23, 2014 at 1:41 AM, rab ra wrote: > Hello, > > I am currently using Hadoop 2.4.1.I am running a MR job using hadoop > streaming utility. > > The executable needs to write large amount of information in a file. > However, this write is not done in single attempt. The file needs to be > appended with streams of information generated. > > In the code, inside a loop, I open a file in hdfs, appends some > information. This is not working and I see only the last write. > > How do I accomplish append operation in hadoop? Can anyone share a pointer > to me? > > > > > regards > Bala > --001a1133ce6e0bae8305014586fb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
What is value of=C2=A0dfs.support.append in hdfs-site.cml

<= span style=3D"line-height:17.280000686645508px">



On Sat, Aug 23, 2014 at 1:41 AM, rab ra = <rabmdu@gmail.com> wrote:
Hello,

I am currently using Hadoop 2.4.= 1.I am running a MR job using hadoop streaming utility.=C2=A0
The executable needs to write large amount of information in a = file. However, this write is not done in single attempt. The file needs to = be appended with streams of information generated.=C2=A0

In the code, inside a loop, I open a file in hdfs, appe= nds some information. This is not working and I see only the last write.=C2= =A0

How do I accomplish append operation in hadoop= ? Can anyone share a pointer to me?




regards
Bala

--001a1133ce6e0bae8305014586fb--