<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to run Apache Nifi on Windows as a Service in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106677#M54554</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16076/safarik.html" nodeid="16076"&gt;@Tomas Safarik&lt;/A&gt; I havent tried it but you can look into procrun.  &lt;A href="http://commons.apache.org/proper/commons-daemon/procrun.html" target="_blank"&gt;http://commons.apache.org/proper/commons-daemon/procrun.html&lt;/A&gt;  &lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 02:10:32 GMT</pubDate>
    <dc:creator>mpandit</dc:creator>
    <dc:date>2017-02-16T02:10:32Z</dc:date>
    <item>
      <title>How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106676#M54553</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there some recommended or tested way how to run Apache Nifi as a Windows Service?&lt;/P&gt;&lt;P&gt;All I can find is:&lt;/P&gt;&lt;P&gt;"Currently, installing NiFi as a service is supported only for Linux and Mac OS X users."&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#installing-as-a-service" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#installing-as-a-service&lt;/A&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 19:25:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106676#M54553</guid>
      <dc:creator>safarik</dc:creator>
      <dc:date>2017-02-15T19:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106677#M54554</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16076/safarik.html" nodeid="16076"&gt;@Tomas Safarik&lt;/A&gt; I havent tried it but you can look into procrun.  &lt;A href="http://commons.apache.org/proper/commons-daemon/procrun.html" target="_blank"&gt;http://commons.apache.org/proper/commons-daemon/procrun.html&lt;/A&gt;  &lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 02:10:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106677#M54554</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-02-16T02:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106678#M54555</link>
      <description>&lt;P&gt;Thanks, I am checking available service wrappers and procrun seemed old to me. So far I decided to try &lt;A href="http://nssm.cc/"&gt;http://nssm.cc/&lt;/A&gt; .

I was looking for some tested or official solution, but I guess there is none.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 03:04:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106678#M54555</guid>
      <dc:creator>safarik</dc:creator>
      <dc:date>2017-02-16T03:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106679#M54556</link>
      <description>&lt;P&gt;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"&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 00:56:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106679#M54556</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2017-06-27T00:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106680#M54557</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11732/saikrishnatarapareddy.html" nodeid="11732"&gt;@Saikrishna Tarapareddy&lt;/A&gt; Thanks for the solution, can this be done for a Production windows server? or just Proof of concept?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 09:04:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106680#M54557</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-06-29T09:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106681#M54558</link>
      <description>&lt;P&gt;This can be done in a PROD server also. &lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 23:07:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106681#M54558</guid>
      <dc:creator>saikrishna_tara</dc:creator>
      <dc:date>2017-06-29T23:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106682#M54559</link>
      <description>&lt;P&gt;Thanks a lot &lt;A rel="user" href="https://community.cloudera.com/users/11732/saikrishnatarapareddy.html" nodeid="11732"&gt;@Saikrishna Tarapareddy&lt;/A&gt;, helps a lot!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 01:24:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106682#M54559</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-06-30T01:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106683#M54560</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11732/saikrishnatarapareddy.html" nodeid="11732"&gt;@Saikrishna Tarapareddy&lt;/A&gt; how did you did it in production? is it clustered or standalone?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 09:32:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106683#M54560</guid>
      <dc:creator>melvinmendoza</dc:creator>
      <dc:date>2017-07-26T09:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106684#M54561</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14536/melvin-camendoza46.html" nodeid="14536"&gt;@mel mendoza&lt;/A&gt; additonally you can use &lt;A href="https://nssm.cc/usage"&gt;https://nssm.cc/usage&lt;/A&gt; (NSSM). Or change settings in windows follow these links&lt;/P&gt;&lt;P&gt;&lt;A href="https://technet.microsoft.com/en-us/sysinternals/bb897553"&gt;https://technet.microsoft.com/en-us/sysinternals/bb897553&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://serverfault.com/questions/734035/running-a-batch-file-from-task-scheduler-without-user-being-logged-in/734054#734054"&gt;https://serverfault.com/questions/734035/running-a-batch-file-from-task-scheduler-without-user-being-logged-in/734054#734054&lt;/A&gt;&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://technet.microsoft.com/en-us/library/cc748993%28v=ws.11%29.aspx#BKMK_winui"&gt;https://technet.microsoft.com/en-us/library/cc748993(v=ws.11).aspx#BKMK_winui&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Jul 2017 01:39:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106684#M54561</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-07-27T01:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106685#M54562</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/20255/dheeruksingh.html" nodeid="20255"&gt;@dhieru singh&lt;/A&gt; &lt;/P&gt;&lt;P&gt;did you manage to configure your nifi in production? can it be done in cluster? &lt;/P&gt;&lt;P&gt;I manage to configure nifi standalone and task scheduler.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:49:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106685#M54562</guid>
      <dc:creator>melvinmendoza</dc:creator>
      <dc:date>2017-07-31T07:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106686#M54563</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/mikenac/nifi-windowsservice"&gt;https://github.com/mikenac/nifi-windowsservice&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://commons.apache.org/daemon/procrun.html"&gt;https://commons.apache.org/daemon/procrun.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://commons.apache.org/proper/commons-daemon/"&gt;https://commons.apache.org/proper/commons-daemon/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I haven't used the above for NiFi but used win-scheduler. (commons daemon was easy to add to mina sshd so probably easy for NiFi too)&lt;/P&gt;&lt;P&gt;using windows scheduler works also&lt;/P&gt;&lt;P&gt;gpedit.msc - add stop script&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;another option may be&lt;/P&gt;&lt;P&gt;download MSI for NiFi. open it in 7zip. Extract the powershell scripts for setting up the windows service.&lt;/P&gt;&lt;P&gt;from here &lt;STRONG&gt;&lt;A rel="nofollow" href="http://public-repo-1.hortonworks.com/HDF/windows/3.x/updates/3.1.0.0/nifi-3.1.0.0-564.msi"&gt;http://public-repo-1.hortonworks.com/HDF/windows/3.x/updates/3.1.0.0/nifi-3.1.0.0-564.msi&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can also download NiFi from here &lt;A href="https://www.cloudera.com/downloads/hdf.html"&gt;https://www.cloudera.com/downloads/hdf.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 00:44:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/106686#M54563</guid>
      <dc:creator>otto_frost</dc:creator>
      <dc:date>2019-04-11T00:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to run Apache Nifi on Windows as a Service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/288877#M54564</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;did you make this work? Is it possible to run the Nifi as a service on Windows in some way? Please give us more detailed information about it, if you succeeded...&lt;/P&gt;&lt;P&gt;Can't apps like AlwaysUp or JSL work? Java Service Wrappers...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 16:36:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-run-Apache-Nifi-on-Windows-as-a-Service/m-p/288877#M54564</guid>
      <dc:creator>shoeber</dc:creator>
      <dc:date>2020-02-01T16:36:23Z</dc:date>
    </item>
  </channel>
</rss>

