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 10EBC9752 for ; Sat, 7 Jan 2012 08:36:53 +0000 (UTC) Received: (qmail 13988 invoked by uid 500); 7 Jan 2012 08:36:52 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 13256 invoked by uid 500); 7 Jan 2012 08:36:36 -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 13227 invoked by uid 99); 7 Jan 2012 08:36:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jan 2012 08:36:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=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; Sat, 07 Jan 2012 08:36:19 +0000 Received: from NDA-HCLIN-HT03.CORP.HCL.IN (10.248.64.34) by NDA-HCLIN-EDGE4.hcl.com (10.248.64.141) with Microsoft SMTP Server id 8.2.254.0; Sat, 7 Jan 2012 14:00:56 +0530 Received: from NDA-HCLC-HT02.HCLC.CORP.HCL.IN (10.33.64.134) by NDA-HCLIN-HT03.CORP.HCL.IN (10.248.64.34) with Microsoft SMTP Server (TLS) id 8.2.176.0; Sat, 7 Jan 2012 14:05:50 +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; Sat, 7 Jan 2012 14:05:50 +0530 From: Stuti Awasthi To: "hdfs-user@hadoop.apache.org" Date: Sat, 7 Jan 2012 14:05:49 +0530 Subject: RE: Mounting HDFS Thread-Topic: Mounting HDFS Thread-Index: AczMlkpgaer3pDjRR6uNEAQcvjJKfgAgGgYQ Message-ID: <7D9AF4B98807C54EBADEA75DF6D5ACB7E3780CEE@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> References: <7D9AF4B98807C54EBADEA75DF6D5ACB7E35EC5E8@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> <9F6B65C7-A061-4A0A-B719-EC7C1946C019@cloudera.com> <7D9AF4B98807C54EBADEA75DF6D5ACB7E378062B@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> <7D9AF4B98807C54EBADEA75DF6D5ACB7E31A8836@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> <7D9AF4B98807C54EBADEA75DF6D5ACB7E3780645@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> <7D9AF4B98807C54EBADEA75DF6D5ACB7E31A8837@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> <94429A24-F1EA-45EE-9820-4FB7FAB815A3@gmail.com> <7D9AF4B98807C54EBADEA75DF6D5ACB7E3780B4D@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: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Alo,Srivas, Thanks for pointing this out. I am still getting the same error. This time = with fuse_dfs_wrapper.sh I echoed the environment variables value also. [root@slave fuse-dfs]# ./fuse_dfs_wrapper.sh dfs://slave:54310 /root/FreshM= ount/mnt1/ -d CLASSPATH=3D/usr/java/jdk1.6.0_30/jre/lib/rt.jar:/usr/java/jdk1.6.0_30/jre/= lib/jce.jar:/usr/java/jdk1.6.0_30/jre/lib/javaws.jar:/usr/java/jdk1.6.0_30/= jre/lib/deploy.jar:/usr/java/jdk1.6.0_30/jre/lib/jsse.jar:/usr/java/jdk1.6.= 0_30/jre/lib/plugin.jar:ls:/root/FreshMount/hadoop-0.20.2/lib/commons-cli-1= .2.jar:/root/FreshMount/hadoop-0.20.2/lib/commons-codec-1.3.jar:/root/Fresh= Mount/hadoop-0.20.2/lib/commons-el-1.0.jar:/root/FreshMount/hadoop-0.20.2/l= ib/commons-httpclient-3.0.1.jar:/root/FreshMount/hadoop-0.20.2/lib/commons-= logging-1.0.4.jar:/root/FreshMount/hadoop-0.20.2/lib/commons-logging-api-1.= 0.4.jar:/root/FreshMount/hadoop-0.20.2/lib/commons-net-1.4.1.jar:/root/Fres= hMount/hadoop-0.20.2/lib/core-3.1.1.jar:/root/FreshMount/hadoop-0.20.2/lib/= hsqldb-1.8.0.10.jar:/root/FreshMount/hadoop-0.20.2/lib/jasper-compiler-5.5.= 12.jar:/root/FreshMount/hadoop-0.20.2/lib/jasper-runtime-5.5.12.jar:/root/F= reshMount/hadoop-0.20.2/lib/jets3t-0.6.1.jar:/root/FreshMount/hadoop-0.20.2= /lib/jetty-6.1.14.jar:/root/FreshMount/hadoop-0.20.2/lib/jetty-util-6.1.14.= jar:/root/FreshMount/hadoop-0.20.2/lib/junit-3.8.1.jar:/root/FreshMount/had= oop-0.20.2/lib/kfs-0.2.2.jar:/root/FreshMount/hadoop-0.20.2/lib/log4j-1.2.1= 5.jar:/root/FreshMount/hadoop-0.20.2/lib/mockito-all-1.8.0.jar:/root/FreshM= ount/hadoop-0.20.2/lib/oro-2.0.8.jar:/root/FreshMount/hadoop-0.20.2/lib/ser= vlet-api-2.5-6.1.14.jar:/root/FreshMount/hadoop-0.20.2/lib/slf4j-api-1.4.3.= jar:/root/FreshMount/hadoop-0.20.2/lib/slf4j-log4j12-1.4.3.jar:/root/FreshM= ount/hadoop-0.20.2/lib/xmlenc-0.52.jar:/root/FreshMount/hadoop-0.20.2/hadoo= p-0.20.2-ant.jar:/root/FreshMount/hadoop-0.20.2/hadoop-0.20.2-core.jar:/roo= t/FreshMount/hadoop-0.20.2/hadoop-0.20.2-examples.jar:/root/FreshMount/hado= op-0.20.2/hadoop-0.20.2-test.jar:/root/FreshMount/hadoop-0.20.2/hadoop-0.20= .2-tools.jar LD_LIBRARY_PATH=3D/usr/lib:/usr/local/lib:/root/FreshMount/hadoop-0.20.2/bu= ild/libhdfs:/usr/java/jdk1.6.0_30/jre/lib/i386/server/:/lib/libfuse.so JAVA_HOME=3D/usr/java/jdk1.6.0_30 Error: port=3D54310,server=3Dslave fuse-dfs didn't recognize /root/FreshMount/mnt1/,-2 fuse-dfs ignoring option -d unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.10 flags=3D0x0000000b max_readahead=3D0x00020000 INIT: 7.8 flags=3D0x00000001 max_readahead=3D0x00020000 max_write=3D0x00020000 unique: 1, error: 0 (Success), outsize: 40 unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56 Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object -----Original Message----- From: alo.alt [mailto:wget.null@googlemail.com] Sent: Friday, January 06, 2012 10:41 PM To: hdfs-user@hadoop.apache.org Subject: Re: Mounting HDFS Stuti, define in CLASSPATH=3D"...." only the jars you really need for. An e= xport of all jars in a given directory is a red flag (done with *.jar). - Alex On Jan 6, 2012, at 7:23 AM, M. C. Srivas wrote: > > unique: 1, error: 0 (Success), outsize: 40 > unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 56 Error occurred duri= ng initialization of VM > java/lang/NoClassDefFoundError: java/lang/Object > > Exported Environment Variable: > > CLASSPATH=3D"/root/FreshMount/hadoop-0.20.2/lib/*.jar:/root/FreshMount/ha= doop-0.20.2/*.jar:/usr/bin/java:/usr/local/lib:/usr/lib:/usr/:/usr/java/jdk= 1.6.0_26/jre/lib/rt.jar:/usr/java/jdk1.6.0_26/jre/lib/" > > > CLASSPATH is a list of jars, not a list of directories > > > I know that this is simple Java Classpath Error but I have set JAVA_HOME = correctly. > > [root@slave ~]# which java > /usr/bin/java > ::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. ---------------------------------------------------------------------------= --------------------------------------------