Member since
02-05-2020
2
Posts
0
Kudos Received
0
Solutions
02-06-2020
12:27 AM
Thanks for the response @jsensharma I do not want point to a python script file and invoke the interpreter. I have scenario where python code is present in flowfile attribute or a variable and want to run it in ExecuteStreamCommand processor. I can not use ExecuteScript processor because it invokes Jython based interpreter. Am using ExecuteStreamCommand processor as I want to explicitly invoke Python 3.5 interpreter. If there is no workaround, What is standard way for having script location. Placing the script file in NiFi server might be risk because other users might accidentally modify/delete it. How to avoid it?
... View more
02-05-2020
10:28 PM
Unlike ExecuteScript processor, the ExecuteStreamCommand does not have 'Script Body' attribute that gets passed during execution. Is there is any workaround where we can pass program as a string? I tried with command 'Python -c .. '. But no luck 😞
#ExecuteStreamCommand #ScriptBody #ScriptBodyAttribute
... View more
Labels:
- Labels:
-
Apache NiFi