<?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: Apache Nifi: Start/Stop group processor from command line in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176572#M82979</link>
    <description>&lt;P&gt;Hi @Shu,&lt;/P&gt;&lt;P&gt;Thank you so much. It  works well for one group. &lt;EM&gt;&lt;STRONG&gt;Is it possible to start/stop multiple/all group processors&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Aug 2018 21:42:38 GMT</pubDate>
    <dc:creator>thuylevn</dc:creator>
    <dc:date>2018-08-31T21:42:38Z</dc:date>
    <item>
      <title>Apache Nifi: Start/Stop group processor from command line</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176570#M82977</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;Is there any ways to &lt;EM&gt;&lt;STRONG&gt;Start/Stop group processor from command line in &lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&lt;STRONG&gt;Apache Nifi: &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 19:32:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176570#M82977</guid>
      <dc:creator>thuylevn</dc:creator>
      <dc:date>2018-08-31T19:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi: Start/Stop group processor from command line</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176571#M82978</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/89281/lethuydoc.html" nodeid="89281"&gt;@Thuy
 Le
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes by using &lt;A href="https://nifi.apache.org/docs/nifi-docs/rest-api/index.html" target="_blank"&gt;NiFi RestAPI &lt;/A&gt;we can start and stop processor groups from command line.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;RestAPI commands:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Start the processor group&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -i -X PUT -H 'Content-Type: application/json' -d '{"id":"&amp;lt;processor_group_id&amp;gt;","state":"RUNNING"}' &lt;A href="http://&amp;lt;nifi_url&amp;gt;/nifi-api/flow/process-groups/&amp;lt;processor_group_id&amp;gt;" target="_blank"&gt;http://&amp;lt;nifi_url&amp;gt;/nifi-api/flow/process-groups/&amp;lt;processor_group_id&amp;gt;&lt;/A&gt;;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Stop the processor group:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -i -X PUT -H 'Content-Type: application/json' -d '{"id":"&amp;lt;processor_group_id&amp;gt;","state":"STOPPED"}' &lt;A href="http://&amp;lt;nifi_url&amp;gt;/nifi-api/flow/process-groups/&amp;lt;processor_group_id&amp;gt;" target="_blank"&gt;http://&amp;lt;nifi_url&amp;gt;/nifi-api/flow/process-groups/&amp;lt;processor_group_id&amp;gt;&lt;/A&gt;;&lt;/PRE&gt;&lt;P&gt;Refer to &lt;A href="https://stackoverflow.com/questions/51706394/how-to-start-all-processors/51707791#51707791" target="_blank"&gt;this&lt;/A&gt; and &lt;A href="https://community.hortonworks.com/articles/110096/start-process-group-using-nifi-rest-api.html" target="_blank"&gt;this&lt;/A&gt; links for more details regards to Start/Stop of processor groups.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If the Answer helped to resolve your issue, &lt;STRONG&gt;Click on Accept button below to accept the answer&lt;/STRONG&gt;, That would be great help to Community users to find solution quickly for these kind of issues.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 19:57:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176571#M82978</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-08-31T19:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi: Start/Stop group processor from command line</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176572#M82979</link>
      <description>&lt;P&gt;Hi @Shu,&lt;/P&gt;&lt;P&gt;Thank you so much. It  works well for one group. &lt;EM&gt;&lt;STRONG&gt;Is it possible to start/stop multiple/all group processors&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 21:42:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176572#M82979</guid>
      <dc:creator>thuylevn</dc:creator>
      <dc:date>2018-08-31T21:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi: Start/Stop group processor from command line</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176573#M82980</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/89281/lethuydoc.html" nodeid="89281"&gt;@Thuy
 Le
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I dont think its possible in one call.&lt;/P&gt;&lt;P&gt;For more debugging for this case use chrome/firefox developer tools and check the calls that are making while doing this action from UI.&lt;/P&gt;&lt;P&gt;If we select two processor groups and hit start button then there are two put methods are running in the back ground to start the process groups.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 22:43:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/176573#M82980</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-08-31T22:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Nifi: Start/Stop group processor from command line</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/299256#M82981</link>
      <description>&lt;P&gt;Hi Friends&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried running the curl from my Linux session on which Nifi installed. This is a secured nifi instance . I got the forbidden error. Please see the error below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-bash-4.2$ curl -i -X PUT -H 'Content-Type: application/json' -d '{"id":"e3d11d1d-327b-1b5b-96a7-3cb59c48df17","state":"RUNNING"}' https://XXXXX:8443/nifi//nifi-api/flow/process-groups/e3d11d1d-327b-1b5b-96a7-3cb59c48df17;&lt;BR /&gt;HTTP/1.1 403 Forbidden&lt;BR /&gt;Server: squid/3.5.20&lt;BR /&gt;Mime-Version: 1.0&lt;BR /&gt;Date: Tue, 07 Jul 2020 09:34:57 GMT&lt;BR /&gt;Content-Type: text/html;charset=utf-8&lt;BR /&gt;Content-Length: 3347&lt;BR /&gt;X-Squid-Error: ERR_ACCESS_DENIED 0&lt;BR /&gt;Vary: Accept-Language&lt;BR /&gt;Content-Language: en&lt;BR /&gt;X-Cache: MISS from XXXXX&lt;BR /&gt;X-Cache-Lookup: NONE from XXXX&lt;BR /&gt;Via: 1.1 XXXXXsquid/3.5.20)&lt;BR /&gt;Connection: keep-alive&lt;/P&gt;&lt;P&gt;curl: (56) Received HTTP code 403 from proxy after CONNECT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55311"&gt;@Shu_ashu&lt;/a&gt;&amp;nbsp;- can you please help me here sir. Is it that I need to specify the certs somewhere ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 09:42:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Apache-Nifi-Start-Stop-group-processor-from-command-line/m-p/299256#M82981</guid>
      <dc:creator>abhinav_joshi</dc:creator>
      <dc:date>2020-07-07T09:42:14Z</dc:date>
    </item>
  </channel>
</rss>

