[
https://issues.apache.org/jira/browse/NIFI-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15140078#comment-15140078
]
ASF GitHub Bot commented on NIFI-1493:
--------------------------------------
GitHub user olegz opened a pull request:
https://github.com/apache/nifi/pull/211
NIFI-1493 fixed InvokeScriptedProcessor to only create Executor when …
…onTrigger() is called.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/olegz/nifi NIFI-1493
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/211.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #211
----
commit 4656fe73ce26199981862d56e15a3d1d698de012
Author: Oleg Zhurakousky <[email protected]>
Date: 2016-02-10T00:19:47Z
NIFI-1493 fixed InvokeScriptedProcessor to only create Executor when
onTrigger() is called.
----
> InvokeScriptedProcessor should not create an instance of Executor until its
> actually used
> -----------------------------------------------------------------------------------------
>
> Key: NIFI-1493
> URL: https://issues.apache.org/jira/browse/NIFI-1493
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Oleg Zhurakousky
> Assignee: Oleg Zhurakousky
> Fix For: 0.6.0
>
>
> When shutting down NiFi even when there is nothing going on (e.g., no flow),
> it takes some time eventually resulting in process kill
> {code}
> 2016-02-09 08:54:08,839 INFO [main] org.apache.nifi.bootstrap.Command Apache
> NiFi has accepted the Shutdown Command and is shutting down now
> 2016-02-09 08:54:08,890 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:10,904 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:12,912 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:14,926 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:16,940 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:18,954 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:20,967 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:22,981 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:24,992 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:27,002 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:29,013 INFO [main] org.apache.nifi.bootstrap.Command Waiting
> for Apache NiFi to finish shutting down...
> 2016-02-09 08:54:29,020 WARN [main] org.apache.nifi.bootstrap.Command NiFi
> has not finished shutting down after 20 seconds. Killing process.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)