You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/07/25 15:05:00 UTC

[jira] [Commented] (NIFI-10262) When user chooses to "Enable Controller Services" if any fails to enable, the rest also fail

    [ https://issues.apache.org/jira/browse/NIFI-10262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570945#comment-17570945 ] 

ASF subversion and git services commented on NIFI-10262:
--------------------------------------------------------

Commit 0497907829ca25523622c021073b90c1aa9a3094 in nifi's branch refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0497907829 ]

NIFI-10262: Ensure that when an Exception is thrown from a Controller Service's @OnEnabled method that we properly handle that Exception and continue enabling the other services in the given collection of services

This closes #6236

Signed-off-by: David Handermann <ex...@apache.org>


> When user chooses to "Enable Controller Services" if any fails to enable, the rest also fail
> --------------------------------------------------------------------------------------------
>
>                 Key: NIFI-10262
>                 URL: https://issues.apache.org/jira/browse/NIFI-10262
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.17.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When a user right-clicks on a PG (or the canvas) and chooses "Enable Controller Services" the endpoint will loop through all controller services in that group & below. It will enable the controller service. If the CS enablement times out, it will continue on to the next service. However, if the CS throws an Exception from its `@OnEnabled` controller service, it will not enable additional Controller Services.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)