- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to run Apache Nifi on Windows as a Service
- Labels:
-
Apache NiFi
Created ‎02-15-2017 11:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
is there some recommended or tested way how to run Apache Nifi as a Windows Service?
All I can find is:
"Currently, installing NiFi as a service is supported only for Linux and Mac OS X users."
https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#installing-as-a-service
I would like to have Apache Nifi running in a way that will automatically start on Windows Server when OS starts and shutdown on OS suhtdown. Having this as a standard system service would be nice but not necessary.
Thanks,
Tomas
Created ‎02-15-2017 07:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I am checking available service wrappers and procrun seemed old to me. So far I decided to try http://nssm.cc/ . I was looking for some tested or official solution, but I guess there is none.
Created ‎02-15-2017 06:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Tomas Safarik I havent tried it but you can look into procrun. http://commons.apache.org/proper/commons-daemon/procrun.html
Created ‎02-15-2017 07:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I am checking available service wrappers and procrun seemed old to me. So far I decided to try http://nssm.cc/ . I was looking for some tested or official solution, but I guess there is none.
Created ‎06-26-2017 05:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To fix the issue I created a Task to Run NiFi in windows task scheduler , and selected the option to "Run whether user is logged on or not"
Created ‎06-29-2017 02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Saikrishna Tarapareddy Thanks for the solution, can this be done for a Production windows server? or just Proof of concept?
Created ‎06-29-2017 04:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This can be done in a PROD server also.
Created ‎06-29-2017 06:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot @Saikrishna Tarapareddy, helps a lot!
Created ‎07-26-2017 02:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Saikrishna Tarapareddy how did you did it in production? is it clustered or standalone?
Created ‎07-26-2017 06:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@mel mendoza additonally you can use https://nssm.cc/usage (NSSM). Or change settings in windows follow these links
Created ‎07-31-2017 12:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
did you manage to configure your nifi in production? can it be done in cluster?
I manage to configure nifi standalone and task scheduler.
