nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James McMahon <jsmcmah...@gmail.com>
Subject Jython in 1.3 ExecuteScript config?
Date Wed, 05 Jul 2017 21:59:15 GMT
Hello. I have a script I run at the command line via
jython /a/b/c/parseIncoming.py

At the moment, all it does is print a  message to the shell.

I expected to be able to execute this script from an ExecuteScript
processor. May not do anything right now, but I still anticipated that the
flowfiles would process through.

I have two questions:
* I was unable to find jython in the ES script engine configuration. I
opted for python. Why is jython not there, and is python okay instead?

* I have my CLASSPATH set as...

CLASSPATH=:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib/commons-io-2.5:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib:/mnt/datalocal/opt/lib/commons-io-2.5:/mnt/datalocal/opt/lib:/home/nifi/nifi/lib/nifi-api-1.3.0.jar:/mnt/datalocal/opt/lib/commons-io-2.5/commons-io-2.5.jar

...for user nifi, must I still put something in Module Directory?

* the flowfile does not flow through to failure or to success. And there is
no insight logged to nifi-app.log. What might be going on?

How can I get this to execute script? I am running Apache NiFi 1.3. Thank
you in advance for any insights. -Jim

Mime
View raw message