Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

problem loading a lib in NiFi executescript

Highlighted

problem loading a lib in NiFi executescript

New Contributor

I've written simple scala lib and planned to use in groovy ExecuteScript


But when I try to call the library I get a rather cryptic error:

ExecuteScript[id=077cdb71-016b-1000-ffff-ffffaff3d770] Failed to process session due to org.apache.nifi.processor.exception.ProcessException: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
IO Exception attempting to load global transforms:JAR entry META-INF/services/org.codehaus.groovy.transform.ASTTransformation not found in /tmp/mylib-jar-with-dependencies.jar
1 error
: org.apache.nifi.processor.exception.ProcessException: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
IO Exception attempting to load global transforms:JAR entry META-INF/services/org.codehaus.groovy.transform.ASTTransformation not found in /tmp/mylib-jar-with-dependencies.jar


Why does it look for groovy components in an external lib?

Don't have an account?
Coming from Hortonworks? Activate your account here