Skip to content

Commit

Permalink
NIFI-13883 [MiNiFI][C2] Fix MiNiFI recovery if exception happens on c…
Browse files Browse the repository at this point in the history
…onfig update

Signed-off-by: Ferenc Kis <[email protected]>

This closes apache#9402.
  • Loading branch information
ferencerdei authored and briansolo1985 committed Oct 17, 2024
1 parent babfd5a commit 94d0ee9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ private static void waitForControllerServicesToEnable(List<? extends ComponentNo
)
.ifPresent(controllerServices -> {
LOGGER.error("The following controller services are still in ENABLING state: {}", controllerServices);
throw new IllegalStateException("Maximum retry number exceeded while waiting for controller service to be validated");
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ public static void main(String[] args) {
new MiNiFi(properties);
} catch (final Throwable t) {
logger.error("Failure to launch MiNiFi", t);
System.exit(1);
}
}

Expand Down

0 comments on commit 94d0ee9

Please sign in to comment.