Member since
06-10-2018
4
Posts
0
Kudos Received
0
Solutions
09-13-2018
02:06 PM
did you get it to work? newer NiFi-Versions (i'm on 1.7) seem to must have a distributed cache service as well for the wait / notify pattern
... View more
06-18-2018
02:35 PM
Hi all, i would like to execute a python script which manipulates a .csv or a .json file. in the python file i am using pandas function pd.read_json to read a json file and then to export another one. when this script is ready, i want nifi to get the new json-file and do something else without python (this is already working). the error in nifi is:"no module named pandas" is it possible to use libraries like sklearn and pandas? what is the best practice here? thanks for your help --k
... View more
Labels:
- Labels:
-
Apache NiFi
06-18-2018
11:44 AM
hi Matt, thank you for the tutorial-series. can you maybe show an example how to return in Jython? typing "return FlowFile" leads to an error: javax.script.ScriptException: SyntaxError :'return' outside function in script.
... View more
06-12-2018
10:53 AM
hi Timothy, can you explain this a bit? is it possible to execute a script.py with #!/usr/bin/python inside and then run it as a bash with NiFi? Or how ist this possible to wrap python in a shell? would help me a lot to start my python scripts with sklearn / numpy / pandas inside NiFi, then grab the exports.csv or exports.json and go ahead with my NiFi worlkflow for FlowFiles. cheers
... View more