Github user mcgilman commented on a diff in the pull request:
https://github.com/apache/nifi/pull/2468#discussion_r174137522
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/StandardProcessorNode.java
---
@@ -1366,10 +1423,12 @@ private void initiateStart(final
ScheduledExecutorService taskScheduler, final l
// If processor's task completed Exceptionally, then we
want to retry initiating the start (if Processor is still scheduled to run).
try (final NarCloseable nc =
NarCloseable.withComponentNarLoader(processor.getClass(),
processor.getIdentifier())) {
+ activateThread();
try {
ReflectionUtils.quietlyInvokeMethodsWithAnnotation(OnUnscheduled.class,
processor, processContext);
- } finally {
--- End diff --
Same as above.
---