You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2016/08/25 15:58:20 UTC
[jira] [Commented] (NIFI-2665) InvokeScriptedProcessor
intermittently fails validation
[ https://issues.apache.org/jira/browse/NIFI-2665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437126#comment-15437126 ]
Matt Burgess commented on NIFI-2665:
------------------------------------
It appears the script engine setup is happening too often (on validation, on scheduled, etc.). There should be a guard against re-initializing the engine if it already exists, this will also help with the 1-engine queue (sometimes the error was happening due to a failed offer() call).
> InvokeScriptedProcessor intermittently fails validation
> -------------------------------------------------------
>
> Key: NIFI-2665
> URL: https://issues.apache.org/jira/browse/NIFI-2665
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Matt Burgess
> Assignee: Matt Burgess
>
> Intermittently (perhaps in the Web Server threads only but perhaps not), InvokeScriptedProcessor will be reported as Invalid with something like the following error logged:
> 2016-08-25 09:59:46,750 WARN [NiFi Web Server-22] o.a.n.controller.StandardProcessorNode Failed during validation
> org.apache.nifi.processor.exception.ProcessException: No script engine available!
> at org.apache.nifi.processors.script.InvokeScriptedProcessor.setup(InvokeScriptedProcessor.java:201) ~[na:na]
> at org.apache.nifi.processors.script.InvokeScriptedProcessor.customValidate(InvokeScriptedProcessor.java:446) ~[na:na]
> at org.apache.nifi.components.AbstractConfigurableComponent.validate(AbstractConfigurableComponent.java:123) ~[nifi-api-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
> at org.apache.nifi.controller.StandardProcessorNode.isValid(StandardProcessorNode.java:917) ~[nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
> at org.apache.nifi.controller.FlowController.getProcessorStatus(FlowController.java:2710) [nifi-framework-core-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)