hi Alberto, This is very alpha code territory. I suggest you create a JIRA issue and look at who developed this code and ping them for help
Thanks Wes On Tue, Sep 11, 2018 at 5:58 AM ALBERTO Bocchinfuso <[email protected]> wrote: > > Anyone has any suggestion about this matter? > > > > Thank you, > > Alberto > > > > ________________________________ > Da: ALBERTO Bocchinfuso <[email protected]> > Inviato: Sunday, August 26, 2018 9:17:40 PM > A: [email protected]; [email protected] > Oggetto: [Scala] Plasma client for java not connecting > > Hi all, > > It’s a while I’m trying to connect to a plasma store via scala. > I’m using the arrow Java API from scala, but if I use the classes in > org.apache.arrow.plasma, I cannot reach the host. > I even tried to start the process before attempt to connect from the same > program, similarly to: > https://github.com/apache/arrow/blob/master/java/plasma/src/test/java/org/apache/arrow/plasma/PlasmaClientTest.java > > But I cannot reach the host either way. I post the code I wrote in the > following: > > import java.io.IOException; > import org.apache.arrow.plasma.PlasmaClient; > > object TestPlasma { > def main(args: Array[String]) { > val builder = new ProcessBuilder("plasma_store", "-m", "268435456", > "-s", "test"); > try { > println(builder.start()); > println("Start process " + " OK"); > } catch { > case ex: IOException => > ex.printStackTrace(); > } > > val plasmaClient = new PlasmaClient("test","",1000); > } > } > > From the execution I get: > > java.lang.UNIXProcess@1b39dcee > Start process OK > [error] (run-main-7) java.lang.UnsatisfiedLinkError: > org.apache.arrow.plasma.PlasmaClientJNI.connect(Ljava/lang/String;Ljava/lang/String;I)J > [error] java.lang.UnsatisfiedLinkError: > org.apache.arrow.plasma.PlasmaClientJNI.connect(Ljava/lang/String;Ljava/lang/String;I)J > [error] at org.apache.arrow.plasma.PlasmaClientJNI.connect(Native > Method) > [error] at > org.apache.arrow.plasma.PlasmaClient.<init>(PlasmaClient.java:43) > [error] at TestPlasma$.main(plasma_test.scala:15) > [error] at TestPlasma.main(plasma_test.scala) > [error] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [error] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > [error] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > [error] at java.lang.reflect.Method.invoke(Method.java:498) > [error] at sbt.Run.invokeMain(Run.scala:93) > [error] at sbt.Run.run0(Run.scala:87) > [error] at sbt.Run.execute$1(Run.scala:65) > [error] at sbt.Run.$anonfun$run$4(Run.scala:77) > [error] at > scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) > [error] at > sbt.util.InterfaceUtil$$anon$1.get(InterfaceUtil.scala:10) > [error] at sbt.TrapExit$App.run(TrapExit.scala:252) > [error] at java.lang.Thread.run(Thread.java:745) > [error] java.lang.RuntimeException: Nonzero exit code: 1 > [error] at sbt.Run$.executeTrapExit(Run.scala:124) > [error] at sbt.Run.run(Run.scala:77) > [error] at sbt.Defaults$.$anonfun$bgRunTask$5(Defaults.scala:1185) > [error] at > sbt.Defaults$.$anonfun$bgRunTask$5$adapted(Defaults.scala:1180) > [error] at > sbt.internal.BackgroundThreadPool.$anonfun$run$1(DefaultBackgroundJobService.scala:366) > [error] at > scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) > [error] at scala.util.Try$.apply(Try.scala:209) > [error] at > sbt.internal.BackgroundThreadPool$BackgroundRunnable.run(DefaultBackgroundJobService.scala:289) > [error] at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > [error] at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > [error] at java.lang.Thread.run(Thread.java:745) > [error] (Compile / run) Nonzero exit code: 1 > > If I try to reach the plasma store I start in the code above with a python > script, I reach it without any problem. > > Thank you in advance and sorry if I write both in dev and user, but I had > many problems in subscribing to user, I haven’t understood if this mailing > list is up and ready or not. > > Alberto >
