Hi John,
considering the github issue you linked, I guess your issue is that snappy cannot locate its native library. Are you getting something like this?
Caused by: java.lang.UnsatisfiedLinkError: no snappyjava in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at org.xerial.snappy.SnappyNativeLoader.loadLibrary(SnappyNativeLoader.java:52)
If this is your issue, then start
your JVM with options "-Dorg.xerial.snappy.tempdir=~/tmp
-
Dorg.xerial.snappy.lib.name=libsnappyjava.jnilib".
The
first option instructs snappy-java to extract the JNI library to the
specified temporary directory ($HOME/tmp); you should choose one in which your user
has full control, allowing the native loader to mark the native library
as executable. The second option instructs snappy-java to lookup the
library by the specified filename, so System.mapLibraryName invocation
is skipped; instead the native library is located successfully with the
filename specified.
Cheers,
Vassilis