Github user zenfenan commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2470#discussion_r168821276
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java
 ---
    @@ -3447,11 +3448,32 @@ public void startReportingTask(final 
ReportingTaskNode reportingTaskNode) {
             if (isTerminated()) {
                 throw new IllegalStateException("Cannot start reporting task " 
+ reportingTaskNode.getIdentifier() + " because the controller is terminated");
             }
    -
    +        validateAdditionalResourcesFingerprint(reportingTaskNode);
             reportingTaskNode.verifyCanStart();
             processScheduler.schedule(reportingTaskNode);
         }
     
    +    private void validateAdditionalResourcesFingerprint(ReportingTaskNode 
reportingTaskNode){
    --- End diff --
    
    Point. Also needed to handle edge case on 
ClassLoaderUtils.generateAdditionalUrlsFingerprint(). Added that change as well.


---

Reply via email to