Re: Hbase Shell: UnsatisfiedLinkError
2012/8/22 Stack st...@duboce.net On Wed, Aug 22, 2012 at 4:39 AM, o brbrs obr...@gmail.com wrote: Thanks for your reply. I send this issue to the user mail list, but i haven't got any reply. I have installed jdk 1.6 and hbase 0.94, and have made configuration that are said in http://hbase.apache.org/book.html#configuration. But the error continues. Suggest you go googling for an answer. This is general jruby jffi dependency issue -- our shell is jruby -- unsatisfied in your environment (For example, this link has a user running ibm's jvm which could be the cause of the missing link: http://www.digipedia.pl/usenet/thread/13899/1438/). St.Ack Thanks for your reply. I fixed the problem by changing jffi and ffi folders which are in jruby-complete-1.0.6.jar with folders which are in jruby-complete-1.0.7.jar and patching again jruby-complete-1.0.6.jar. It works. -- ... Obrbrs
Re: Hbase Shell: UnsatisfiedLinkError
Hi, Well the first steps would be: 1) Use the JDK 1.6 from Oracle. 1.7 is not supported yet. 2) Check the content of http://hbase.apache.org/book.html#configuration to set up your first cluster. Worth reading the whole guide imho. 3) Start with the last released version (.94), except if you have a good reason to use the .90 of course. 4) Use the user mailing list for this type of questions and not the dev one. :-). I kept dev in bcc. Good luck, N. On Wed, Aug 22, 2012 at 12:25 PM, o brbrs obr...@gmail.com wrote: Hi, I'm new at hbase. I installed Hadoop 1.0.3 and Hbase 0.90.6 with Java 1.7.0 on Ubuntu 12.04. When I run hbase shell command, this error occures: $ /usr/local/hbase/bin/hbase shell java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Could not locate stub library in jar file. Tried [jni/ı386-Linux/libjffi-1.0.so, /jni/ı386-Linux/libjffi-1.0.so] 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) . What is the reason of this error? Please help. Thanks... -- ... Obrbrs
Re: Hbase Shell: UnsatisfiedLinkError
Thanks for your reply. I send this issue to the user mail list, but i haven't got any reply. I have installed jdk 1.6 and hbase 0.94, and have made configuration that are said in http://hbase.apache.org/book.html#configuration. But the error continues. 2012/8/22 N Keywal nkey...@gmail.com Hi, Well the first steps would be: 1) Use the JDK 1.6 from Oracle. 1.7 is not supported yet. 2) Check the content of http://hbase.apache.org/book.html#configuration to set up your first cluster. Worth reading the whole guide imho. 3) Start with the last released version (.94), except if you have a good reason to use the .90 of course. 4) Use the user mailing list for this type of questions and not the dev one. :-). I kept dev in bcc. Good luck, N. -- ... Obrbrs
Re: Hbase Shell: UnsatisfiedLinkError
On Wed, Aug 22, 2012 at 4:39 AM, o brbrs obr...@gmail.com wrote: Thanks for your reply. I send this issue to the user mail list, but i haven't got any reply. I have installed jdk 1.6 and hbase 0.94, and have made configuration that are said in http://hbase.apache.org/book.html#configuration. But the error continues. Suggest you go googling for an answer. This is general jruby jffi dependency issue -- our shell is jruby -- unsatisfied in your environment (For example, this link has a user running ibm's jvm which could be the cause of the missing link: http://www.digipedia.pl/usenet/thread/13899/1438/). St.Ack