Hi!

I am using AsterixDB for my master thesis, and I have some issues I hope
you can help me with!

How do I install a UDF package when I am using NCService, not Ansible? Is
it enough to unzip the .jar generated from my project, and add it to
asterix-server-0.9.3-binary-assembly/lib/udfs/testlib? Or should I use my
local version of asterixdb (the cloned repo), not the one installed through
your webpage?

The following information is found in the cc.log when I put the .jar in the
location specified above (lib/udfs/testlib): ssembly/lib/udfs

*Oct 15, 2018 10:41:17 AM org.apache.hyracks.control.cc.CCDriver main*
*SEVERE: Exiting CCDriver due to exception*
*java.lang.ArrayIndexOutOfBoundsException: 0*
* at
org.apache.asterix.app.external.ExternalLibraryUtils.getLibraryClassLoader(ExternalLibraryUtils.java:353)*
* at
org.apache.asterix.app.external.ExternalLibraryUtils.registerLibrary(ExternalLibraryUtils.java:299)*
* at
org.apache.asterix.app.external.ExternalLibraryUtils.setUpExternaLibraries(ExternalLibraryUtils.java:78)*
* at
org.apache.asterix.hyracks.bootstrap.CCApplication.start(CCApplication.java:140)*
* at
org.apache.hyracks.control.cc.ClusterControllerService.startApplication(ClusterControllerService.java:226)*
* at
org.apache.hyracks.control.cc.ClusterControllerService.start(ClusterControllerService.java:212)*
* at org.apache.hyracks.control.cc.CCDriver.main(CCDriver.java:47)*


I am really looking forward to your answer!

Best regards,
Sandra Skarshaug

Reply via email to