[ 
https://issues.apache.org/jira/browse/NIFI-1464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192500#comment-15192500
 ] 

Joseph Witt commented on NIFI-1464:
-----------------------------------

[~ozhurakousky] [~markap14] deployed this to a cluster and found pretty broken 
results.  I see these in the logs a good bit '2016-03-13 19:37:06,827 WARN 
[NiFi Web Server-279] o.a.n.controller.StandardProcessorNode Can not start 
Processor since it's already in the process of being started or it is DISABLED'

Cannot start processors once they've been stopped.  Nothign seems to be 
happening at all at this point.  Just really broken behavior.  Based on what I 
see in the logs I am assuming it is related to this ticket.

Seeing lots of these in the thread dump

{quote}

"pool-25-thread-8" Id=100 TIMED_WAITING  on 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@350d5741
        at sun.misc.Unsafe.park(Native Method)
        at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
        at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:422)
        at java.util.concurrent.FutureTask.get(FutureTask.java:199)
        at 
org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1393)
        at 
org.apache.nifi.controller.StandardProcessorNode.access$100(StandardProcessorNode.java:91)
        at 
org.apache.nifi.controller.StandardProcessorNode$1.run(StandardProcessorNode.java:1246)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
        Number of Locked Synchronizers: 1
        - java.util.concurrent.ThreadPoolExecutor$Worker@562ced8b

{quote}

> Refactor lifecycle code for Processors and other components
> -----------------------------------------------------------
>
>                 Key: NIFI-1464
>                 URL: https://issues.apache.org/jira/browse/NIFI-1464
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Oleg Zhurakousky
>            Assignee: Oleg Zhurakousky
>             Fix For: 0.6.0
>
>
> Similar lifecycle handling improvements that went in as part of the NIFI-1164 
> for ControllerServices, could/should be applied to other  components (e..g, 
> Processors).
> The improvements may also help to address NIFI-78 (may be without killing the 
> thread).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to