[ https://issues.apache.org/jira/browse/NIFI-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613406#comment-14613406 ]
ASF subversion and git services commented on NIFI-745: ------------------------------------------------------ Commit 208402472dd99c629afc056f4464b925b8f834ab in incubator-nifi's branch refs/heads/develop from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=incubator-nifi.git;h=2084024 ] NIFI-745: Only call methods with @OnDisabled once, regardless of whether or not they succeed > 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)