mirror of
https://github.com/apache/nifi.git
synced 2025-03-03 16:09:19 +00:00
NIFI-13883 [MiNiFI][C2] Fix MiNiFI recovery if exception happens on config update
Signed-off-by: Ferenc Kis <briansolo1985@gmail.com> This closes #9402.
This commit is contained in:
parent
babfd5a559
commit
94d0ee9460
@ -104,7 +104,6 @@ public final class FlowValidator {
|
||||
)
|
||||
.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");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -226,6 +226,7 @@ public class MiNiFi {
|
||||
new MiNiFi(properties);
|
||||
} catch (final Throwable t) {
|
||||
logger.error("Failure to launch MiNiFi", t);
|
||||
System.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user