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 5B97C9366 for ; Thu, 19 Jan 2012 10:41:15 +0000 (UTC) Received: (qmail 87332 invoked by uid 500); 19 Jan 2012 10:41:14 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 87206 invoked by uid 500); 19 Jan 2012 10:41:13 -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 87198 invoked by uid 99); 19 Jan 2012 10:41:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 10:41:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Thu, 19 Jan 2012 10:41:08 +0000 Received: from NDA-HCLIN-HT02.CORP.HCL.IN (10.248.64.36) by NDA-HCLIN-EDGE4.hcl.com (10.248.64.141) with Microsoft SMTP Server id 8.2.254.0; Thu, 19 Jan 2012 16:05:53 +0530 Received: from NDA-HCLC-HT02.HCLC.CORP.HCL.IN (10.33.64.134) by NDA-HCLIN-HT02.CORP.HCL.IN (10.248.64.36) with Microsoft SMTP Server (TLS) id 8.2.254.0; Thu, 19 Jan 2012 16:10:45 +0530 Received: from NDA-HCLC-EVS04.HCLC.CORP.HCL.IN ([10.33.64.194]) by NDA-HCLC-HT02.HCLC.CORP.HCL.IN ([::1]) with mapi; Thu, 19 Jan 2012 16:10:44 +0530 From: Stuti Awasthi To: "hdfs-user@hadoop.apache.org" Date: Thu, 19 Jan 2012 16:10:43 +0530 Subject: RE: Issues in fuse_dfs (Hadoop-1.0.0) Thread-Topic: Issues in fuse_dfs (Hadoop-1.0.0) Thread-Index: AczWliSyDdpvou2sRkOtIZqVtGRHVQAAGGWQ Message-ID: <7D9AF4B98807C54EBADEA75DF6D5ACB7E39DD47B@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> References: <7D9AF4B98807C54EBADEA75DF6D5ACB7E39DD366@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> <7D9AF4B98807C54EBADEA75DF6D5ACB7E39DD3FF@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> <439C6F39-AF8B-42BA-8835-CB035B5E02EF@gmail.com> In-Reply-To: <439C6F39-AF8B-42BA-8835-CB035B5E02EF@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 No, I have not set any security in conf/sites file. My sites file have just= basic entries to start the hdfs cluster. -----Original Message----- From: alo alt [mailto:wget.null@googlemail.com]=20 Sent: Thursday, January 19, 2012 4:05 PM To: hdfs-user@hadoop.apache.org Subject: Re: Issues in fuse_dfs (Hadoop-1.0.0) Did ou have security enabled in your hadoop installation? -- Alexander Lorenz http://mapredit.blogspot.com On Jan 19, 2012, at 10:02 AM, Stuti Awasthi wrote: > Hi Kartheek, > I am building fuse_dfs as a root user. I have also configured Hadoop as r= oot user and it is working fine. > =20 > From: kartheek muthyala [mailto:kartheek0274@gmail.com] > Sent: Thursday, January 19, 2012 12:08 PM > To: hdfs-user@hadoop.apache.org > Subject: Re: Issues in fuse_dfs (Hadoop-1.0.0) > =20 > Stuti: Did you by any chance created hadoop using non-root user?? > Thanks, > Kartheek. >=20 > On Thu, Jan 19, 2012 at 11:56 AM, Stuti Awasthi wr= ote: > Any one has idea about why fuse_dfs of Hadoop-1.0.0 requires authenticati= on for mount ?? > =20 > From: Stuti Awasthi > Sent: Wednesday, January 18, 2012 4:33 PM > To: hdfs-user@hadoop.apache.org > Subject: Issues in fuse_dfs (Hadoop-1.0.0) > =20 > Hi All, > =20 > I am able to successfully built fuse_dfs shipped with Hadoop-1.0.0 but wh= en I try to mount HDFS using fuse_dfs_wrapper.sh I get the following error = .When I used fuse_dfs built from hadoop-0.20.2 , I do not get any such erro= r and I am able to mount properly. > Can anyone help me to fix this? > =20 > [root@slave fuse-dfs]# ./fuse_dfs_wrapper.sh dfs://slave:54310 /mnt -d=20 > port=3D54310,server=3Dslave fuse-dfs didn't recognize /mnt,-2 fuse-dfs=20 > ignoring option -d FUSE library version: 2.8.3 > nullpath_ok: 0 > unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 > INIT: 7.13 > flags=3D0x0000007b > max_readahead=3D0x00020000 > INIT: 7.12 > flags=3D0x00000011 > max_readahead=3D0x00020000 > max_write=3D0x00020000 > unique: 1, success, outsize: 40 > unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40 statfs / > unique: 2, success, outsize: 96 > unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 56 getattr /=20 > Exception in thread "Thread-2" java.io.IOException: failure to login > at org.apache.hadoop.security.UserGroupInformation.getLoginUser(U= serGroupInformation.java:452) > at org.apache.hadoop.security.UserGroupInformation.getCurrentUser= (UserGroupInformation.java:414) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:111) > Caused by: javax.security.auth.login.LoginException: unable to find Login= Module class: org/apache/hadoop/security/UserGroupInformation$HadoopLoginMo= dule > at javax.security.auth.login.LoginContext.invoke(LoginContext.jav= a:823) > at javax.security.auth.login.LoginContext.access$000(LoginContext= .java:203) > at javax.security.auth.login.LoginContext$5.run(LoginContext.java= :721) > at javax.security.auth.login.LoginContext$5.run(LoginContext.java= :719) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.login.LoginContext.invokeCreatorPriv(Login= Context.java:718) > at javax.security.auth.login.LoginContext.login(LoginContext.java= :590) > at org.apache.hadoop.security.UserGroupInformation.getLoginUser(U= serGroupInformation.java:433) > ... 2 more > Call to org.apache.hadoop.fs.Filesystem::get(URI, Configuration) failed! > unique: 3, error: -5 (Input/output error), outsize: 16 > =20 > Thanks > =20 > ::DISCLAIMER:: > ---------------------------------------------------------------------- > ------------------------------------------------- >=20 > The contents of this e-mail and any attachment(s) are confidential and in= tended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its=20 > affiliates. Any views or opinions presented in this email are solely thos= e of the author and may not necessarily reflect the opinions of HCL or its = affiliates. > Any form of reproduction, dissemination, copying, disclosure,=20 > modification, distribution and / or publication of this message=20 > without the prior written consent of the author of this e-mail is=20 > strictly prohibited. If you have received this email in error please dele= te it and notify the sender immediately. Before opening any mail and attach= ments please check them for viruses and defect. >=20 > ---------------------------------------------------------------------- > -------------------------------------------------