Subject: Hi all,
We just upgraded to NiFi 2.9.0 and I believe we've identified a critical issue in the groovyx ExecuteGroovyScript processor. Please advise if we should open a Jira (I'm happy to do so). Environment: - NiFi: 2.9.0 - Processor: org.apache.nifi.processors.groovyx.ExecuteGroovyScript (nifi-groovyx-nar 2.9.0) Minimal reproduction: Flow: GenerateFlowFile -> ExecuteGroovyScript simple ExecuteGroovyScript script: def ff = session.get() if (!ff) return session.transfer(ff, REL_SUCCESS) Behavior: - If Failure Strategy = "rollback": works as expected - If Failure Strategy = "transfer to failure": commit fails even though the script transfers to REL_SUCCESS Even on the transfer to failure setting, the flow file remains in the incoming queue, and I get the bulletin: ExecuteGroovyScript[id=4250f809-019e-1000-ba2b-dc7f5d729518] org.apache.nifi.processor.exception.FlowFileHandlingException: ... transfer relationship not specified. This FlowFile was not created in this session and was not transferred to any Relationship via ProcessSession.transfer() Then a follow-on error: ExecuteGroovyScript[id=4250f809-019e-1000-ba2b-dc7f5d729518] ... is not known in this session (StandardProcessSession[id=]) I think we may need a 2.9.1 release on this one. I just filed https://issues.apache.org/jira/browse/NIFI-15955 Thanks, Geoff Greene
