St.Ack,

This is indeed a Cloudera distribution.

Thanks to Ted Yu I was directed to the source of this error - we had
mounted /tmp with "noexec" option for security. I discovered that by
removing "noexec" and remounting the partition hbase shell works fine.

Cheers,
~Daniel

On 7/23/11 3:48 PM, "Stack" <[email protected]> wrote:

>On Fri, Jul 22, 2011 at 3:46 PM, Daniel Oxenhandler
><[email protected]> wrote:
>> Hello,
>>
>> I am new to the list, and to Hbase as well. I just deployed a 15-node
>>cluster with Hadoop version 0.20.2+320 and Hbase version 0.90.3,
>>r1100350. We are running CentoOS 5.5 on new hardware.
>>
>
>0.20.2+320 is a cloudera distribution?
>
>
>> [hadoop@sys1-prod-name01 bin]$ hbase shell
>> java.lang.RuntimeException: java.lang.UnsatisfiedLinkError:
>>/tmp/jffi354710859112658681.tmp: /tmp/jffi354710859112658681.tmp: failed
>>to map segment from shared object: Operation not permitted
>>        at 
>>com.kenai.jffi.Foreign$InValidInstanceHolder.getForeign(Foreign.java:90)
>
>
>That is not pretty.
>
>jffi is in the jruby bundle IIRC
>
>I see that you are not the first to have this issue when I google...
>Seems like OS/JVM issue? Can you poke around some (I've not seen it
>before).
>
>St.Ack
>
>
>>        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(AsmL
>>ibraryLoader.java:188)
>>        at 
>>com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoad
>>er.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.<clini
>>t>(POSIXFactory.java:105)
>> [error continues for about 194 lines]
>>
>> Permissions on /tmp are world writeable:
>> [hadoop@sys1-prod-name01 bin]$ ls -ld /tmp
>> drwxrwxrwt 16 root root 4096 Jul 22 22:32 /tmp
>>
>> Has anybody seen this, or have any suggestions for what might be the
>>problem?
>>
>> Thanks!
>> ~Daniel
>>
>>

Reply via email to