[ https://issues.apache.org/jira/browse/NIFI-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613405#comment-14613405 ]
Aldrin Piri commented on NIFI-745: ---------------------------------- Had one check style error: [WARNING] src/main/java/org/apache/nifi/annotation/lifecycle/OnDisabled.java[41] (regexp) RegexpSinglelineJava: Line has trailing whitespace. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.15:check (check-style) on project nifi-api: You have 1 Checkstyle violation. -> [Help 1] Otherwise, all looks good, +1 > Disabling Controller Service stuck > ---------------------------------- > > Key: NIFI-745 > URL: https://issues.apache.org/jira/browse/NIFI-745 > Project: Apache NiFi > Issue Type: Bug > Components: Core Framework > Reporter: Matt Gilman > Fix For: 0.2.0 > > Attachments: > 0001-NIFI-745-Only-call-methods-with-OnDisabled-once-rega.patch > > > Per the nifi-api a controller service OnDisable method will be invoked when > the user disables that service. If that method fails with an exception it > will be retried a short time later. This will continue until it successfully > completes. > Unfortunately, this means that if services continually throws an exception > during OnDisable the user will not be able to do anything with the service. > This is because controller services need to be Disabled in order to support > editing its configuration or attempting to Enable. The service in question > will not transition to the Disabled state until its OnDisable completes > without issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)