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 BC43D9AA6 for ; Fri, 16 Dec 2011 08:17:34 +0000 (UTC) Received: (qmail 95458 invoked by uid 500); 16 Dec 2011 08:17:33 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 95403 invoked by uid 500); 16 Dec 2011 08:17:33 -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 95394 invoked by uid 99); 16 Dec 2011 08:17:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 08:17:33 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stutiawasthi@hcl.com designates 203.105.185.25 as permitted sender) Received: from [203.105.185.25] (HELO gws06.hcl.com) (203.105.185.25) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2011 08:17:23 +0000 Received: from NDA-HCLIN-HT01.CORP.HCL.IN (10.248.64.35) by NDA-HCLIN-EDGE4.hcl.com (10.248.64.141) with Microsoft SMTP Server id 8.2.254.0; Fri, 16 Dec 2011 13:42:48 +0530 Received: from NDA-HCLC-HT01.HCLC.CORP.HCL.IN (10.33.64.155) by NDA-HCLIN-HT01.CORP.HCL.IN (10.248.64.35) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 16 Dec 2011 13:46:59 +0530 Received: from NDA-HCLC-EVS04.HCLC.CORP.HCL.IN ([10.33.64.194]) by NDA-HCLC-HT01.HCLC.CORP.HCL.IN ([::1]) with mapi; Fri, 16 Dec 2011 13:46:59 +0530 From: Stuti Awasthi To: "hdfs-user@hadoop.apache.org" Date: Fri, 16 Dec 2011 13:46:58 +0530 Subject: RE: Copying file is not working properly via fuse-dfs Thread-Topic: Copying file is not working properly via fuse-dfs Thread-Index: Acy7xSAdMzFx/Au5QheBAwxjN8oqIQABZ4mQ Message-ID: <7D9AF4B98807C54EBADEA75DF6D5ACB7E3401FF5@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> References: <7D9AF4B98807C54EBADEA75DF6D5ACB7E3401F8D@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_7D9AF4B98807C54EBADEA75DF6D5ACB7E3401FF5NDAHCLCEVS04HCL_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_7D9AF4B98807C54EBADEA75DF6D5ACB7E3401FF5NDAHCLCEVS04HCL_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hey thanks Aastha, Kartheek, Its working fine now. I am able to copy files and folders using fuse-dfs. T= here was some issue with my HDFS because of which I was facing issue. Thanks :) From: Aastha Mehta [mailto:aasthakm@gmail.com] Sent: Friday, December 16, 2011 1:03 PM To: hdfs-user@hadoop.apache.org Subject: Re: Copying file is not working properly via fuse-dfs Can you also check the namenode log in $HADOOP_HOME/logs/ dir? If you see a= n error like file replicated only to 0 instead of n (n =3D replication fact= or you set in the config file), possible reason maybe that the datanode has= not yet got completely configured and connected to namenode. In that case,= you ned to wait for a few minutes after setting up your cluster, before pr= oceeding with any operations. On 16 December 2011 12:53, kartheek muthyala > wrote: Can you try out this thing.....Try to copy some of the files from local usi= ng DFSClient into hdfs and then check the mounted fuse-dfs folder, whether = you can see the files? And can you show the logs of the datanode? ~Kartheek On Fri, Dec 16, 2011 at 12:11 PM, Stuti Awasthi > wrote: Hi All, I installed and configured fuse-dfs properly with hadoop-0.20.2 and able to= mount the hdfs properly. Now if I try to copy some txt file, then file is getting copied but with 0 = bytes i.e. contents are not getting saved of the file. Similarly if I try to copy video file then file is not getting copied. Does fuse-dfs does not support file operations, and if it doesnt then what = is the use of mounting hdfs to drive. Please help Stuti ::DISCLAIMER:: ---------------------------------------------------------------------------= -------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and inte= nded for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliate= s. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect t= he opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,= distribution and / or publication of this message without the prior written consent of the author of this e-mail= is strictly prohibited. If you have received this email in error please delete it and notify the sender immedia= tely. Before opening any mail and attachments please check them for viruses and defect. ---------------------------------------------------------------------------= -------------------------------------------- -- Aastha Mehta E-mail: aasthakm@gmail.com --_000_7D9AF4B98807C54EBADEA75DF6D5ACB7E3401FF5NDAHCLCEVS04HCL_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hey thank= s Aastha, Kartheek,

 

Its working fine now. I= am able to copy files and folders using fuse-dfs. There was some issue wit= h my HDFS because of which I was facing issue.

 

Thanks J

=  

From: Aastha Mehta [mailto:a= asthakm@gmail.com]
Sent: Friday, December 16, 2011 1:03 PM
To: hdfs-user@hadoop.apache.org
Subject: Re: Copying file is= not working properly via fuse-dfs

 

= Can you also check the namenode log in $HADOOP_HOME/logs/ dir? If you see a= n error like file replicated only to 0 instead of n (n =3D replication fact= or you set in the config file), possible reason maybe that the datanode has= not yet got completely configured and connected to namenode. In that case,= you ned to wait for a few minutes after setting up your cluster, before pr= oceeding with any operations.

On 16= December 2011 12:53, kartheek muthyala <kartheek0274@gmail.com> wrote:

Can you try out this thing.....Try = to copy some of the files from local using DFSClient into hdfs and then che= ck the mounted fuse-dfs folder, whether you can see the files?
And can y= ou show the logs of the datanode?

~Kartheek

On Fri, Dec 16, 2011 at 12:11 PM, Stuti Awasthi <stutiawasthi@hcl.com= > wrote:

Hi All,

I installed a= nd configured fuse-dfs properly with hadoop-0.20.2 and able to mount the hd= fs properly.
Now if I try to copy some txt file, then file is getting co= pied but with 0 bytes i.e. contents are not getting saved of the file.
S= imilarly if I try to copy video file then file is not getting copied.
Does fuse-dfs does not support file operations, and if it doesnt then wha= t is the use of mounting hdfs to drive.

Please help
Stuti

= ::DISCLAIMER::
---------------------------------------------------------= --------------------------------------------------------------

The c= ontents of this e-mail and any attachment(s) are confidential and intended = for the named recipient(s) only.
It shall not attach any liability on th= e originator or HCL or its affiliates. Any views or opinions presented inthis email are solely those of the author and may not necessarily reflect= the opinions of HCL or its affiliates.
Any form of reproduction, dissem= ination, copying, disclosure, modification, distribution and / or publicati= on of
this message without the prior written consent of the author of th= is e-mail is strictly prohibited. If you have
received this email in err= or please delete it and notify the sender immediately. Before opening any m= ail and
attachments please check them for viruses and defect.

---= ---------------------------------------------------------------------------= -----------------------------------------

 



 

--
Aastha Mehta
E-mail= : aasthakm@gmail.co= m

= --_000_7D9AF4B98807C54EBADEA75DF6D5ACB7E3401FF5NDAHCLCEVS04HCL_--