Re: Unable to use native library in C* trigger

2016-06-08 Thread Brian Kelly
day, June 7, 2016 at 4:30 PM To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" mailto:user@cassandra.apache.org>> Subject: Re: Unable to use native library in C* trigger My guess would be it’s due to the UDF sandbox whitelist/bl

Re: Unable to use native library in C* trigger

2016-06-07 Thread Ben Slater
My guess would be it’s due to the UDF sandbox whitelist/blacklist ( https://github.com/apache/cassandra/blob/5288d434b3b559c7006fa001a2dc56f4f4b2e2c3/src/java/org/apache/cassandra/cql3/functions/UDFunction.java ). As far as I’m aware there is no way current of avoiding this (other than recompiling

Unable to use native library in C* trigger

2016-06-07 Thread Brian Kelly
Hi, all, I am attempting write a trigger that depends on a native library. The library is successfully loaded by the JVM (so the java.library.path should not be the issue - I just have the jnilib in lib/sigar-bin for now) but any call to its methods result in a java.lang.UnsatisfiedLinkError. T