[ 
https://issues.apache.org/jira/browse/NIFI-9370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne resolved NIFI-9370.
------------------------------
    Resolution: Duplicate

> Run Once functionality with CRON driven scheduling
> --------------------------------------------------
>
>                 Key: NIFI-9370
>                 URL: https://issues.apache.org/jira/browse/NIFI-9370
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.14.0, 1.15.0
>            Reporter: hipotures
>            Priority: Minor
>
> *Settings:*
> Scheduling Strategy: CRON driven
> Processor state: Stopped
> *Action:* 
> Run Once
> **
> *Workaround:* 
> terminate processor state
>  
> 2021-11-09 14:47:45,537 WARN [Timer-Driven Process Thread-4] 
> o.a.n.controller.StandardProcessorNode Failed while shutting down processor 
> GenerateFlowFile[id=04f41444-017d-1000-8ce8-e1d1037091d6]
> java.lang.IllegalStateException: Cannot unschedule 
> GenerateFlowFile[id=04f41444-017d-1000-8ce8-e1d1037091d6] because it was not 
> scheduled to run
>     at 
> org.apache.nifi.controller.scheduling.QuartzSchedulingAgent.unschedule(QuartzSchedulingAgent.java:178)
>     at 
> org.apache.nifi.controller.scheduling.QuartzSchedulingAgent.doUnschedule(QuartzSchedulingAgent.java:167)
>     at 
> org.apache.nifi.controller.scheduling.AbstractSchedulingAgent.unschedule(AbstractSchedulingAgent.java:61)
>     at 
> org.apache.nifi.controller.scheduling.AbstractTimeBasedSchedulingAgent.unschedule(AbstractTimeBasedSchedulingAgent.java:36)
>     at 
> org.apache.nifi.controller.StandardProcessorNode$2.run(StandardProcessorNode.java:1790)
>     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:748)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to