Mr John created NIFI-519:
----------------------------

             Summary: Starting NiFi into a process
                 Key: NIFI-519
                 URL: https://issues.apache.org/jira/browse/NIFI-519
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Core Framework
    Affects Versions: 0.0.2
         Environment: Centos 6
            Reporter: Mr John


I've written a bash script that sets up NiFi and it tries to start it up. I get 
the "Successfully started Apache NiFi" message returned. However, when the 
script exits(immediately after getting that message) NiFi fails to start.

I believe this is due to the bootstrap loader exiting which is what I believe 
NiFi is using to start. If I manually SSH into the server itself and run the 
same command, it starts up just fine. Is there a way we can wrap the startup 
process within the "nohup" command?

Log:

INFO [main] org.apache.nifi.NiFi Launching NiFi...
INFO [main] org.apache.nifi.BootstrapListener Started Bootstrap Listener, 
Listening for incoming requests on port 52283
INFO [main] org.apache.nifi.BootstrapListener Successfully initiated 
communication with Bootstrap
INFO [Thread-1] org.apache.nifi.NiFi Initiating shutdown of Jetty web server...
INFO [Thread-1] org.apache.nifi.NiFi Jetty web server shutdown completed 
(nicely or otherwise).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to