You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by N Keywal <nk...@gmail.com> on 2012/08/22 12:35:48 UTC
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 <ob...@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
Posted by o brbrs <ob...@gmail.com>.
2012/8/23 Stack <st...@duboce.net>
> On Thu, Aug 23, 2012 at 1:48 AM, o brbrs <ob...@gmail.com> wrote:
> > 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.
> >
>
> Do you mean 1.6.x jruby vs. 1.7.0 jruby? HBase ships w/ 1.6.5 and it
> looks like jruby 1.7 has not yet shipped a release (its in preview).
> Thanks,
> St.Ack
>
Yes I mean 1.6 jruby vs 1.7 jruby and yes it's in preview. anway i didn't
use whole jruby-complete-1.7.0.jar. I only used jffi libraries that are in
jruby-complete-1.7.0.jar. And this fixed the error because jffi library
which is in jruby-complete-1.6.0.jar cause error.
thanks.
--
...
Obrbrs
Re: Hbase Shell: UnsatisfiedLinkError
Posted by Stack <st...@duboce.net>.
On Thu, Aug 23, 2012 at 1:48 AM, o brbrs <ob...@gmail.com> wrote:
> 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.
>
Do you mean 1.6.x jruby vs. 1.7.0 jruby? HBase ships w/ 1.6.5 and it
looks like jruby 1.7 has not yet shipped a release (its in preview).
Thanks,
St.Ack
Re: Hbase Shell: UnsatisfiedLinkError
Posted by o brbrs <ob...@gmail.com>.
2012/8/22 Stack <st...@duboce.net>
> On Wed, Aug 22, 2012 at 4:39 AM, o brbrs <ob...@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
Posted by o brbrs <ob...@gmail.com>.
2012/8/22 Stack <st...@duboce.net>
> On Wed, Aug 22, 2012 at 4:39 AM, o brbrs <ob...@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
Posted by Stack <st...@duboce.net>.
On Wed, Aug 22, 2012 at 4:39 AM, o brbrs <ob...@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
Re: Hbase Shell: UnsatisfiedLinkError
Posted by Stack <st...@duboce.net>.
On Wed, Aug 22, 2012 at 4:39 AM, o brbrs <ob...@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
Re: Hbase Shell: UnsatisfiedLinkError
Posted by o brbrs <ob...@gmail.com>.
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 <nk...@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
Posted by o brbrs <ob...@gmail.com>.
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 <nk...@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