I'm trying to use the Java API for Apache Arrow to connect to a memory
store. I've done this in Python, successfully, using the Python API by
following the guide here.
I've also looked at the C++ API documentation, but it didn't help much.
The Java Docs makes it look similar to the other documentation.
Make sure the plasma object store is running (usually "/tmp/plasma" for
the examples).
Create client
Connect to the client by providing the object store
("/tmp/plasma"), and ("", 0) for the other two parameters.
However, when attempting to use the following line, I get an
UnsatisfiedLinkError, that I can't find any reference to within the Apache
Arrow documentation. Other solutions found of google (such as calling
System.load) haven't been successful either.
PlasmaClient client = new PlasmaClient("/tmp/plasma", "", 0);
A copy of my error messages can be seen below:
Exception in thread "main"
java.lang.UnsatisfiedLinkError:org.apache.arrow.plasma.PlasmaClientJNI.connect(Ljava/lang/String;Ljava/lang/String;I)J
at org.apache.arrow.plasma.PlasmaClientJNI.connect(Native Method) at
org.apache.arrow.plasma.PlasmaClient.<init>(PlasmaClient.java:44) at
plas.main(plas.java:11)
Any help is appreciated. Thank you!