Matt Burgess created NIFI-8330:
----------------------------------
Summary: JythonScriptEngineConfigurator needs to recompile on
init()
Key: NIFI-8330
URL: https://issues.apache.org/jira/browse/NIFI-8330
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Reporter: Matt Burgess
NIFI-8080 introduced a kind of regression in the sense that an invalid Jython
script can be supplied to InvokeScriptedProcessor (or related scripting
components) and it will successfully "compile". However it will generate an
error every time eval() is called, and will not be recompiled if the script is
changed because a CompiledScript object exists. The workaround/approach is that
the script must be corrected and then NiFi must be restarted.
The JythonScriptEngineConfigurator should recompile the script whenever init()
is called, whether there is an existing CompiledScript object or not.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)