hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petrucci Andreas <petrucci_2...@hotmail.com>
Subject RE: HDFS and libhfds
Date Wed, 08 Dec 2010 06:59:04 GMT

thanks for the replies, this solved my problems 

http://mail-archives.apache.org/mod_mbox/hadoop-common-user/200909.mbox/%3C6F5C1D715B2DA5498A628E6B9C124F0401452213AA@hasmsx504.ger.corp.intel.com%3E


...i think i should write a post in my blog about this night with hdfs, libhdfs and fuse...

> Date: Tue, 7 Dec 2010 22:44:39 -0700
> Subject: Re: HDFS and libhfds
> From: Sudhir.Vallamkondu@icrossing.com
> To: common-user@hadoop.apache.org
> 
> I second Ed's answer. Try unistalling whatever you installed and start
> fresh. Whenever I see this error when trying to installing a native bridge,
> this solution always worked for me.
> 
> 
> On 12/7/10 5:07 PM, "common-user-digest-help@hadoop.apache.org"
> <common-user-digest-help@hadoop.apache.org> wrote:
> 
> > From: Edward Capriolo <edlinuxguru@gmail.com>
> > Date: Tue, 7 Dec 2010 17:22:03 -0500
> > To: <common-user@hadoop.apache.org>
> > Subject: Re: HDFS and libhfds
> > 
> > 2010/12/7 Petrucci Andreas <petrucci_2005@hotmail.com>:
> >> 
> >> hello there, im trying to compile libhdfs in order  but there are some
> >> problems. According to http://wiki.apache.org/hadoop/MountableHDFS  i have
> >> already installes fuse. With ant compile-c++-libhdfs -Dlibhdfs=1 the buils is
> >> successful.
> >> 
> >> However when i try ant package -Djava5.home=... -Dforrest.home=... the build
> >> fails and the output is the below :
> >> 
> >>  [exec]
> >>     [exec] Exception in thread "main" java.lang.UnsupportedClassVersionError:
> >> Bad version number in .class file
> >>     [exec]     at java.lang.ClassLoader.defineClass1(Native Method)
> >>     [exec]     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> >>     [exec]     at
> >> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> >>     [exec]     at
> >> java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> >>     [exec]     at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> >>     [exec]     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> >>     [exec]     at java.security.AccessController.doPrivileged(Native Method)
> >>     [exec]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >>     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >>     [exec]     at
> >> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> >>     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >>     [exec]     at
> >> org.apache.avalon.excalibur.logger.DefaultLogTargetFactoryManager.configure(D
> >> efaultLogTargetFactoryManager.java:113)
> >>     [exec]     at
> >> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.j
> >> ava:201)
> >>     [exec]     at
> >> org.apache.avalon.excalibur.logger.LogKitLoggerManager.setupTargetFactoryMana
> >> ger(LogKitLoggerManager.java:436)
> >>     [exec]     at
> >> org.apache.avalon.excalibur.logger.LogKitLoggerManager.configure(LogKitLogger
> >> Manager.java:400)
> >>     [exec]     at
> >> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.j
> >> ava:201)
> >>     [exec]     at
> >> org.apache.cocoon.core.CoreUtil.initLogger(CoreUtil.java:607)
> >>     [exec]     at org.apache.cocoon.core.CoreUtil.init(CoreUtil.java:169)
> >>     [exec]     at org.apache.cocoon.core.CoreUtil.<init>(CoreUtil.java:115)
> >>     [exec]     at
> >> org.apache.cocoon.bean.CocoonWrapper.initialize(CocoonWrapper.java:128)
> >>     [exec]     at
> >> org.apache.cocoon.bean.CocoonBean.initialize(CocoonBean.java:97)
> >>     [exec]     at org.apache.cocoon.Main.main(Main.java:310)
> >>     [exec] Java Result: 1
> >>     [exec]
> >>     [exec]   Copying broken links file to site root.
> >>     [exec]
> >>     [exec]
> >>     [exec] BUILD FAILED
> >>     [exec] /apache-forrest-0.8/main/targets/site.xml:175: Warning: Could not
> >> find file /hadoop-0.20.2/src/docs/build/tmp/brokenlinks.xml to copy.
> >>     [exec]
> >>     [exec] Total time: 4 seconds
> >> 
> >> BUILD FAILED
> >> /hadoop-0.20.2/build.xml:867: exec returned: 1
> >> 
> >> 
> >> any ideas what's wrong???
> >> 
> > 
> > I never saw this usage:
> > -Djava5.home
> > Try
> > export JAVA_HOME=/usr/java
> > 
> > " Bad version number in .class file " means you are mixing and
> > matching java versions somehow.
> 
> 
> iCrossing Privileged and Confidential Information
> This email message is for the sole use of the intended recipient(s) and may contain confidential
and privileged information of iCrossing. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by reply email
and destroy all copies of the original message.
> 
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message