hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Pelly <gfpe...@gmail.com>
Subject Re: java.lang.UnsatisfiedLinkError
Date Mon, 26 Dec 2011 02:40:27 GMT
Hi,

Thanks for the response, I hadn't checked as I didn't think anyone would
have been working this weekend.

It's not a Cloudera distribution unless that's the default hbase
distribution and it's working in several other environment.

It could be the noexec option I made a file executable in /tmp and
attempted to execute it as root and got a permission denied. I don't have
access to change that from here, I could investigate doing that, is there
any chance I could get hbase to use a different folder rather than tmp to
see if that fixes it?

Cheers

On Sat, Dec 24, 2011 at 9:04 AM, Suraj Varma <svarma.ng@gmail.com> wrote:

> Check this thread - let us know if this solves your issue as well.
> http://comments.gmane.org/gmane.comp.java.hadoop.hbase.user/20303
>
> --Suraj
>
> On Thu, Dec 22, 2011 at 9:00 PM, Greg Pelly <gfpelly@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to setup HBase on a Ubuntu 11.04 virtual server using
> > jdk1.6.0_29, I've had it on another similar server as well as a desktop
> > machine and this is the first time I've seen this error and I can't find
> > anything helpful on the web.
> >
> > Cheers,
> > Greg
> >
> > root@ve:/usr/share/hbase-0.90.3/bin# ./start-hbase.sh
> > starting master, logging to
> >
> /usr/share/hbase-0.90.3/bin/../logs/hbase-root-master-ve.yjp5ky27.vesrv.com.out
> > root@ve:/usr/share/hbase-0.90.3/bin# ./hbase shell
> > java.lang.RuntimeException: java.lang.UnsatisfiedLinkError:
> > /tmp/jffi3898397313126607284.tmp: /tmp/jffi3898397313126607284.tmp:
> failed
> > to map segment from shared object: Operation not permitted
> >        at
> > com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90)
> >        at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
> >        at com.kenai.jffi.Library.openLibrary(Library.java:151)
> >        at com.kenai.jffi.Library.getCachedInstance(Library.java:125)
> >        at
> >
> com.kenai.jaffl.provider.jffi.Library.loadNativeLibraries(Library.java:66)
> >        at
> > com.kenai.jaffl.provider.jffi.Library.getNativeLibraries(Library.java:56)
> >        at
> > com.kenai.jaffl.provider.jffi.Library.getSymbolAddress(Library.java:35)
> >        at
> > com.kenai.jaffl.provider.jffi.Library.findSymbolAddress(Library.java:45)
> >        at
> >
> com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:188)
> >        at
> >
> com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:110)
> >        at
> > com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:31)
> >        at
> > com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:25)
> >        at com.kenai.jaffl.Library.loadLibrary(Library.java:76)
> >        at
> >
> org.jruby.ext.posix.POSIXFactory$LinuxLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:105)
> >        at
> >
> org.jruby.ext.posix.POSIXFactory$LinuxLibCProvider.getLibC(POSIXFactory.java:109)
> >        at
> > org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:29)
> >        at org.jruby.ext.posix.LinuxPOSIX.<init>(LinuxPOSIX.java:17)
> >        at
> > org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:67)
> >        at
> org.jruby.ext.posix.POSIXFactory.loadPOSIX(POSIXFactory.java:28)
> >        at org.jruby.ext.posix.LazyPOSIX.loadPOSIX(LazyPOSIX.java:28)
> >        at org.jruby.ext.posix.LazyPOSIX.posix(LazyPOSIX.java:24)
> >        at org.jruby.ext.posix.LazyPOSIX.isatty(LazyPOSIX.java:134)
> >        at org.jruby.RubyIO.tty_p(RubyIO.java:1861)
> >        at org.jruby.RubyIO$i$0$0$tty_p.call(RubyIO$i$0$0$tty_p.gen:65535)
> >        at
> >
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
> >        at
> > org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
> >        at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62)
> >        at org.jruby.ast.IfNode.interpret(IfNode.java:111)
> >        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
> >        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> >        at
> >
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> >        at
> >
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
> >        at
> >
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
> >        at
> >
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
> >        at
> > org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
> >        at org.jruby.ast.VCallNode.interpret(VCallNode.java:85)
> >        at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103)
> >        at org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
> >        at
> >
> org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
> >        at
> >
> org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169)
> >        at
> >
> org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171)
> >        at
> >
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:272)
> >        at
> >
> org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:114)
> >        at
> > org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:118)
> >        at org.jruby.RubyClass.newInstance(RubyClass.java:792)
> >        at
> > org.jruby.RubyClass$i$newInstance.call(RubyClass$i$newInstance.gen:65535)
> >        at
> >
> org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:249)
> >        at
> >
> org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
> >        at
> > org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
> >        at
> >
> usr.share.hbase_minus_0_dot_90_dot_3.bin.$_dot_dot_.bin.hirb.__file__(/usr/share/hbase-0.90.3/bin/../bin/hirb.rb:108)
> >        at
> >
> usr.share.hbase_minus_0_dot_90_dot_3.bin.$_dot_dot_.bin.hirb.load(/usr/share/hbase-0.90.3/bin/../bin/hirb.rb)
> >        at org.jruby.Ruby.runScript(Ruby.java:670)
> >        at org.jruby.Ruby.runNormally(Ruby.java:574)
> >        at org.jruby.Ruby.runFromMain(Ruby.java:423)
> >        at org.jruby.Main.doRunFromMain(Main.java:278)
> >        at org.jruby.Main.internalRun(Main.java:198)
> >        at org.jruby.Main.run(Main.java:164)
> >        at org.jruby.Main.run(Main.java:148)
> >        at org.jruby.Main.main(Main.java:128)
> > Caused by: java.lang.UnsatisfiedLinkError:
> > /tmp/jffi3898397313126607284.tmp: /tmp/jffi3898397313126607284.tmp:
> failed
> > to map segment from shared object: Operation not permitted
> >        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> >        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
> >        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
> >        at java.lang.Runtime.load0(Runtime.java:770)
> >        at java.lang.System.load(System.java:1003)
> >        at com.kenai.jffi.Init.loadFromJar(Init.java:164)
> >        at com.kenai.jffi.Init.load(Init.java:78)
> >        at
> > com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:49)
> >        at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:45)
> >        at com.kenai.jffi.Foreign.getInstance(Foreign.java:95)
> >        at
> com.kenai.jffi.Internals.getErrnoSaveFunction(Internals.java:44)
> >        at
> >
> com.kenai.jaffl.provider.jffi.StubCompiler.getErrnoSaveFunction(StubCompiler.java:68)
> >        at
> > com.kenai.jaffl.provider.jffi.StubCompiler.<clinit>(StubCompiler.java:18)
> >        at
> >
> com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:146)
> >        ... 50 more
> > Foreign.java:90:in `getForeign': java.lang.RuntimeException:
> > java.lang.UnsatisfiedLinkError: /tmp/jffi3898397313126607284.tmp:
> > /tmp/jffi3898397313126607284.tmp: failed to map segment from shared
> object:
> > Operation not permitted
> >        from Foreign.java:95:in `getInstance'
> >        from Library.java:151:in `openLibrary'
> >        from Library.java:125:in `getCachedInstance'
> >        from Library.java:66:in `loadNativeLibraries'
> >        from Library.java:56:in `getNativeLibraries'
> >        from Library.java:35:in `getSymbolAddress'
> >        from Library.java:45:in `findSymbolAddress'
> >        from DefaultInvokerFactory.java:51:in `createInvoker'
> >        from Library.java:27:in `getInvoker'
> >        from NativeInvocationHandler.java:90:in `createInvoker'
> >        from NativeInvocationHandler.java:74:in `getInvoker'
> >        from NativeInvocationHandler.java:110:in `invoke'
> >        from null:-1:in `isatty'
> >        from BaseNativePOSIX.java:256:in `isatty'
> >        from LazyPOSIX.java:134:in `isatty'
> >        from RubyIO.java:1861:in `tty_p'
> >        from RubyIO$i$0$0$tty_p.gen:65535:in `call'
> >        from CachingCallSite.java:262:in `cacheAndCall'
> >        from CachingCallSite.java:105:in `call'
> >        from CallNoArgNode.java:62:in `interpret'
> >        from IfNode.java:111:in `interpret'
> >        from NewlineNode.java:103:in `interpret'
> >        from BlockNode.java:71:in `interpret'
> >        from ASTInterpreter.java:74:in `INTERPRET_METHOD'
> >        from InterpretedMethod.java:147:in `call'
> >        from DefaultMethod.java:163:in `call'
> >        from CachingCallSite.java:262:in `cacheAndCall'
> >        from CachingCallSite.java:105:in `call'
> >        from VCallNode.java:85:in `interpret'
> >        from NewlineNode.java:103:in `interpret'
> >        from BlockNode.java:71:in `interpret'
> >        from ASTInterpreter.java:74:in `INTERPRET_METHOD'
> >        from InterpretedMethod.java:169:in `call'
> >        from DefaultMethod.java:171:in `call'
> >        from CachingCallSite.java:272:in `cacheAndCall'
> >        from CachingCallSite.java:114:in `callBlock'
> >        from CachingCallSite.java:118:in `call'
> >        from RubyClass.java:792:in `newInstance'
> >        from RubyClass$i$newInstance.gen:65535:in `call'
> >        from JavaMethod.java:249:in `call'
> >        from CachingCallSite.java:262:in `cacheAndCall'
> >        from CachingCallSite.java:105:in `call'
> >        from /usr/share/hbase-0.90.3/bin/../bin/hirb.rb:108:in `__file__'
> >        from /usr/share/hbase-0.90.3/bin/../bin/hirb.rb:-1:in `load'
> >        from Ruby.java:670:in `runScript'
> >        from Ruby.java:574:in `runNormally'
> >        from Ruby.java:423:in `runFromMain'
> >        from Main.java:278:in `doRunFromMain'
> >        from Main.java:198:in `internalRun'
> >        from Main.java:164:in `run'
> >        from Main.java:148:in `run'
> >        from Main.java:128:in `main'
> > Caused by:
> > ClassLoader.java:-2:in `load': java.lang.UnsatisfiedLinkError:
> > /tmp/jffi3898397313126607284.tmp: /tmp/jffi3898397313126607284.tmp:
> failed
> > to map segment from shared object: Operation not permitted
> >        from ClassLoader.java:1807:in `loadLibrary0'
> >        from ClassLoader.java:1703:in `loadLibrary'
> >        from Runtime.java:770:in `load0'
> >        from System.java:1003:in `load'
> >        from Init.java:164:in `loadFromJar'
> >        from Init.java:78:in `load'
> >        from Foreign.java:49:in `getInstanceHolder'
> >        from Foreign.java:45:in `<clinit>'
> >        from Foreign.java:95:in `getInstance'
> >        from Internals.java:44:in `getErrnoSaveFunction'
> >        from StubCompiler.java:68:in `getErrnoSaveFunction'
> >        from StubCompiler.java:18:in `<clinit>'
> >        from AsmLibraryLoader.java:146:in `generateInterfaceImpl'
> >        from AsmLibraryLoader.java:110:in `loadLibrary'
> >        from Provider.java:31:in `loadLibrary'
> >        from Provider.java:25:in `loadLibrary'
> >        from Library.java:76:in `loadLibrary'
> >        from POSIXFactory.java:105:in `<clinit>'
> >        from POSIXFactory.java:109:in `getLibC'
> >        from BaseNativePOSIX.java:29:in `<init>'
> >        from LinuxPOSIX.java:17:in `<init>'
> >        from POSIXFactory.java:67:in `loadLinuxPOSIX'
> >        from POSIXFactory.java:28:in `loadPOSIX'
> >        from LazyPOSIX.java:28:in `loadPOSIX'
> >        from LazyPOSIX.java:24:in `posix'
> >        from LazyPOSIX.java:134:in `isatty'
> >        from RubyIO.java:1861:in `tty_p'
> >        from RubyIO$i$0$0$tty_p.gen:65535:in `call'
> >        from CachingCallSite.java:262:in `cacheAndCall'
> >        from CachingCallSite.java:105:in `call'
> >        from CallNoArgNode.java:62:in `interpret'
> >        from IfNode.java:111:in `interpret'
> >        from NewlineNode.java:103:in `interpret'
> >        from BlockNode.java:71:in `interpret'
> >        from ASTInterpreter.java:74:in `INTERPRET_METHOD'
> >        from InterpretedMethod.java:147:in `call'
> >        from DefaultMethod.java:163:in `call'
> >        from CachingCallSite.java:262:in `cacheAndCall'
> >        from CachingCallSite.java:105:in `call'
> >        from VCallNode.java:85:in `interpret'
> >        from NewlineNode.java:103:in `interpret'
> >        from BlockNode.java:71:in `interpret'
> >        from ASTInterpreter.java:74:in `INTERPRET_METHOD'
> >        from InterpretedMethod.java:169:in `call'
> >        from DefaultMethod.java:171:in `call'
> >        from CachingCallSite.java:272:in `cacheAndCall'
> >        from CachingCallSite.java:114:in `callBlock'
> >        from CachingCallSite.java:118:in `call'
> >        from RubyClass.java:792:in `newInstance'
> >        from RubyClass$i$newInstance.gen:65535:in `call'
> >        from JavaMethod.java:249:in `call'
> >        from CachingCallSite.java:262:in `cacheAndCall'
> >        from CachingCallSite.java:105:in `call'
> >        from /usr/share/hbase-0.90.3/bin/../bin/hirb.rb:108:in `__file__'
> >        from /usr/share/hbase-0.90.3/bin/../bin/hirb.rb:-1:in `load'
> >        from Ruby.java:670:in `runScript'
> >        from Ruby.java:574:in `runNormally'
> >        from Ruby.java:423:in `runFromMain'
> >        from Main.java:278:in `doRunFromMain'
> >        from Main.java:198:in `internalRun'
> >        from Main.java:164:in `run'
> >        from Main.java:148:in `run'
> >        from Main.java:128:in `main'
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message