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

    https://github.com/apache/nifi/pull/779#discussion_r73546113
  
    --- Diff: 
nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/AbstractHadoopProcessor.java
 ---
    @@ -177,9 +178,17 @@ protected KerberosProperties getKerberosProperties() {
             return results;
         }
     
    +    @Override
    +    public void onPropertyModified(PropertyDescriptor descriptor, String 
oldValue, String newValue) {
    --- End diff --
    
    Looks like you're right - it is not calling @OnStopped methods when 
@OnScheduled throws an Exception. I created a ticket for that - 
https://issues.apache.org/jira/browse/NIFI-2484. I think we should avoid 
working around the bug in this PR though and just address it in the framework.


---
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