Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 A41F517920 for ; Fri, 7 Nov 2014 17:28:31 +0000 (UTC) Received: (qmail 33339 invoked by uid 500); 7 Nov 2014 17:28:21 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 33210 invoked by uid 500); 7 Nov 2014 17:28:21 -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 33199 invoked by uid 99); 7 Nov 2014 17:28:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 17:28:21 +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 pumudu88@gmail.com designates 209.85.223.180 as permitted sender) Received: from [209.85.223.180] (HELO mail-ie0-f180.google.com) (209.85.223.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Nov 2014 17:28:17 +0000 Received: by mail-ie0-f180.google.com with SMTP id y20so5438080ier.25 for ; Fri, 07 Nov 2014 09:26:27 -0800 (PST) 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=dq/nVVjDb5L1HA+NJE7QHSRXUvQo22Pga8CjKSnn048=; b=Vro+NxNrCbTk0KonG62RdeLzzfkvVhFRjC0rXUnkJObD2t2Jq5++RqLHLkCnci3rTy qjQSSYp/+vgyDQY1Jv6M4sMbXAl5fUSA7vV7f1ZkqA9f1bZ/1cB5YprQzdWzU1LO6I8n NIorksqlRFdyRWdV9y/RlNAqwW/MdL1Pt5tjMXVobn5yghCj0N0e3F+//tDCG7WLHa8T 177LfnLZb6IBnXP74qnd4lcyYyMS4UcaU8gEOKs4uKvjCvLGucNdGSIZrcyN2CQE8HG/ K/3nzJQEKCVj3U3B9THbEDVlPIAmA6qwCVJwkss7BuGnUkYjzPU5uohnE3EEXKr8WOYN 67cQ== MIME-Version: 1.0 X-Received: by 10.42.152.129 with SMTP id i1mr3305258icw.96.1415381187003; Fri, 07 Nov 2014 09:26:27 -0800 (PST) Received: by 10.107.135.84 with HTTP; Fri, 7 Nov 2014 09:26:26 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Nov 2014 22:56:26 +0530 Message-ID: Subject: Re: Error while writing to HDFS NFS from windows From: Pumudu ruhunage To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=90e6ba6e86e8df8a8d0507481ccb X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba6e86e8df8a8d0507481ccb Content-Type: text/plain; charset=ISO-8859-1 Hi Gautam, Can you please give more details of what you tried ? What's the command you execute to create? Were you able to browse hdfs through mount point ? As a alternative have you tried WebHDFS[1 ] ? (Since you're using windows it'll be easy if you try to use webhdfs as it's based on rest calls) [1] http://hadoop.apache.org/docs/r1.0.4/webhdfs.html Regards, On 7 November 2014 11:10, Gautam Hegde wrote: > Hi All, > > I have a use case where I need to transfer files from windows to HDFS. I > cannot use flume because the folder and file structure need to be > replicated as they are. > HDFS NFS is the perfect thing for this use case, I was able to mount hdfs > on windows, but when I try to write to it I get the following error. > ERROR nfs3.RpcProgramNfs3: Setting file size is not supported when > creating file: New Text Document.txt dir fileId:463160 > > > Is there any way to resolve this, so that I can successfully write from > windows to HDFS NFS? > > Thanks in advance > Gautam Hegde > > -- Pumudu Ruhunage email : pumudu88@gmail.com work email : pumudu@wso2.com Blog : http://pumuduruhunage.blogspot.com/ --90e6ba6e86e8df8a8d0507481ccb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Gautam,

Can you please give more det= ails of what you tried ? What's the command you execute to create? Were= you able to browse hdfs through mount point ?
As a alternative have yo= u tried WebHDFS[1] ? (Since you're using windows it'll be easy if you try to= use webhdfs as it's based on rest calls)


Regards,

On 7 November 2014 11:10, Gautam Hegde <= span dir=3D"ltr"><gautam@aralitechnologies.com> wrote:
Hi All,

I have a use case where= I need to transfer files from windows to HDFS. I cannot use flume because = the folder and file structure need to be replicated as they are.
= HDFS NFS is the perfect thing for this use case, I was able to mount hdfs o= n windows, but when I try to write to it I get the following error.
ERROR nfs3.R= pcProgramNfs3: Setting file size is not supported when creating file: New T= ext Document.txt dir fileId:463160


Is there any way to resolve this, so that I ca= n successfully write from windows to HDFS NFS?=A0

Thanks in advance=A0
Gautam Hegde

<= /font>



--
Pumudu Ruhunage

em= ail :=A0pumudu88@gmail.com
<= div>work email : pumudu@wso2.com
--90e6ba6e86e8df8a8d0507481ccb--