Details
Description
Hbase shell depends on jffi native library ( libjffi-1.0.so ) which is part of jruby-complete-1.6.8.jar file. Currently the jar file hosted on central maven repository don't have the native library for ppc64le. Below is the error message when tried to invoke the hbase shell.
hduser@sovmp132:/usr/lib/hbase/bin$ ./hbase shell
2016-02-02 11:42:10,111 INFO [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Could not locate stub library in jar file. Tried [jni/ppc64-Linux/libjffi-1.0.so, /jni/ppc64-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)