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

    https://github.com/apache/nifi-minifi/pull/68#discussion_r93533913
  
    --- Diff: 
minifi-bootstrap/src/main/java/org/apache/nifi/minifi/bootstrap/ShutdownHook.java
 ---
    @@ -55,10 +55,12 @@ public void run() {
     
             System.out.println("Initiating shutdown of bootstrap change 
ingestors...");
             ConfigurationChangeCoordinator notifier = 
runner.getChangeCoordinator();
    -        try {
    -            notifier.close();
    -        } catch (IOException ioe) {
    -            System.out.println("Could not successfully stop notifier due 
to " + ioe);
    +        if (notifier != null) {
    --- End diff --
    
    Hmm, didn't see that in mine in testing.  Although I can certainly see how 
this would happen.  
    
    Could initialize the listener/ingestors before starting the actual flow.  
This might even make more sense logically.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to