[
https://issues.apache.org/jira/browse/NIFI-842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Bende updated NIFI-842:
-----------------------------
Attachment: NIFI-842-2.patch
New patch adds a "started" signal from org.apache.nifi.NiFi back to the
bootstrap (RunNiFi) indicating that NiFi successfully started. Only if NiFi
successfully started will a restart occur, otherwise it exits the restart loop.
The actual sending of the signal is done in BootstrapListener because that is
where other communication back to the bootstrap was occurring, if this is not
preferred it could easily be done directly in NiFi.
> If Bootstrap is unable to start NiFi, the process just stays around,
> listening for connections
> ----------------------------------------------------------------------------------------------
>
> Key: NIFI-842
> URL: https://issues.apache.org/jira/browse/NIFI-842
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Assignee: Bryan Bende
> Fix For: 0.3.0
>
> Attachments: NIFI-842-2.patch, NIFI-842.patch
>
>
> When the bootstrap launches NiFi, it should allow some amount of time
> (perhaps a minute?) waiting to hear from NiFi. If it never hears, then it
> should assume that the app was unable to start at all. In this case,
> attempting to start it again is not going to be very helpful, so the
> bootstrap should just exit
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)