You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Nissim Shiman (Jira)" <ji...@apache.org> on 2022/11/07 18:10:00 UTC

[jira] [Created] (NIFI-10772) Unattributable error on nifi shutdown when controller service was unable to be started

Nissim Shiman created NIFI-10772:
------------------------------------

             Summary: Unattributable error on nifi shutdown when controller service was unable to be started
                 Key: NIFI-10772
                 URL: https://issues.apache.org/jira/browse/NIFI-10772
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.18.0
            Reporter: Nissim Shiman


This error occurs when nifi is unable to start an controller service that is supposed to be in an enabled state.

For example, if the StandardSSLContextService is running, but the underlying keystore file it relies on is removed from the filesystem, nifi will be unable to successfully start it on a nifi restart.

When nifi is shutdown the following error is in nifi-app.log:
{code}
java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@1c5f3492 rejected from org.apache.nifi.engine.FlowEngine@1298c969[Shutting down, pool size = 10, active threads = 1, queued tasks = 0, completed tasks = 54]
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
        at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:326)
        at java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:533)
        at org.apache.nifi.engine.FlowEngine.schedule(FlowEngine.java:87)
        at org.apache.nifi.controller.service.StandardControllerServiceNode$2.run(StandardControllerServiceNode.java:591)
        at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:750)

{code}

It is unclear from the current log output as to what the underlying cause of it was (i.e. which controller service StandardControllerServiceNode is having trouble with) 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)