<?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: Nifi executeprocess does not generate realtime data in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133658#M96325</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry to hear that you're having trouble with our tutorial. I think there must be some error happening when the ExecuteProcess runs the shell script. But the processor ignores the stderr stream of the process by default, and currently, no bulletin error or log message are shown, then it's difficult to investigate what went wrong.&lt;/P&gt;&lt;P&gt;I think there's some room for improvement for this, and going to look further. In a meanwhile, please use 'Redirect Error Stream' to capture error output of the process to see what is happening, as shown in the attached image.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8560-execute-process.png" style="width: 1261px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22174i6DC8444A6F7B5E59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8560-execute-process.png" alt="8560-execute-process.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 09:09:04 GMT</pubDate>
    <dc:creator>kkawamura</dc:creator>
    <dc:date>2019-08-19T09:09:04Z</dc:date>
    <item>
      <title>Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133657#M96324</link>
      <description>&lt;P&gt;Hi, i have questions. I'm followed the REALTIME EVENT PROCESSING IN HADOOP WITH NIFI, KAFKA AND STORM and got stuck. Why execute process in Nifi does not generate realtime data although i can execute /root/iot-truck-streaming/stream-simulator/generate.sh from shell. I used the template in that tutorial and also i followed that tutorial.&lt;/P&gt;&lt;P&gt;Another is why i use template from ANALYZE TRAFFIC PATTERNS WITH APACHE NIFI . I can run it. But i don't see the exact output file in output folder. I just can see "trafficLocs_data_for_simulator.zip_raw=true" file in output folder although i have waited for long time.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 13:14:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133657#M96324</guid>
      <dc:creator>wealthyman2402</dc:creator>
      <dc:date>2016-10-17T13:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133658#M96325</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry to hear that you're having trouble with our tutorial. I think there must be some error happening when the ExecuteProcess runs the shell script. But the processor ignores the stderr stream of the process by default, and currently, no bulletin error or log message are shown, then it's difficult to investigate what went wrong.&lt;/P&gt;&lt;P&gt;I think there's some room for improvement for this, and going to look further. In a meanwhile, please use 'Redirect Error Stream' to capture error output of the process to see what is happening, as shown in the attached image.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="8560-execute-process.png" style="width: 1261px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22174i6DC8444A6F7B5E59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="8560-execute-process.png" alt="8560-execute-process.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:09:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133658#M96325</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2019-08-19T09:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133659#M96326</link>
      <description>&lt;P&gt;Ok, here is error: "sh: /root/iot-truck-streaming/stream-simulator/generate.sh: Permission denied. "&lt;/P&gt;&lt;P&gt;So, how can i do?. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 14:25:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133659#M96326</guid>
      <dc:creator>wealthyman2402</dc:creator>
      <dc:date>2016-10-17T14:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133660#M96327</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To add executable permission to the file to every user (since I am not sure which user runs NiFi process on your environment), use following command:&lt;/P&gt;&lt;PRE&gt;chmod +x /root/iot-truck-streaming/stream-simulator/generate.sh&lt;/PRE&gt;&lt;P&gt;You might need to add sudo at the beginning of the command based on who you are logged in with:&lt;/P&gt;&lt;PRE&gt;sudo chmod +x /root/iot-truck-streaming/stream-simulator/generate.sh&lt;/PRE&gt;&lt;P&gt;Hope it works.&lt;/P&gt;&lt;P&gt;(Sorry, I pasted the above command wrong, updated.)&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 14:31:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133660#M96327</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2016-10-17T14:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133661#M96328</link>
      <description>&lt;P&gt;Hi, i don't have a clue how to create nifi user, currently there is no nifi user being showed here. I see in ambari dashboard on nifi config that nifi_user and nifi_group is both nifi!?. What do you mean" add executable permission :&lt;/P&gt;&lt;PRE&gt;sudo /root/iot-truck-streaming/stream-simulator/generate.sh&lt;/PRE&gt;&lt;P&gt;".  You mean add it to shell or to processor property?.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/8603-screenshot-24.png"&gt;screenshot-24.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 15:21:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133661#M96328</guid>
      <dc:creator>wealthyman2402</dc:creator>
      <dc:date>2016-10-17T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133662#M96329</link>
      <description>&lt;P&gt;Hi, i've follow your guide, executed two commands above, but there's nothing changes. Currently i'm running as anonymous user. I don't know how to create secure user. I think it relevant to the problem. I look for guide to do that but it is complicate. &lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 16:34:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133662#M96329</guid>
      <dc:creator>wealthyman2402</dc:creator>
      <dc:date>2016-10-17T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133663#M96330</link>
      <description>&lt;P&gt;Hi, I posted the comment without 'chmod +x' command above.. sorry about that. Please login to the sandbox machine by SSH and execute 'chmod +x /root/iot-truck-streaming/stream-simulator/generate.sh' command to add execution permission to the shell script file. Then NiFi will be able to run the sh from ExecuteProcess.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 06:36:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133663#M96330</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2016-10-18T06:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133664#M96331</link>
      <description>&lt;P&gt;I tried options of chmod and also chown to nifi user but error still exists even after full 777 permission on file and also folder. Please advice.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 06:59:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133664#M96331</guid>
      <dc:creator>mothi86</dc:creator>
      <dc:date>2016-10-18T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133665#M96332</link>
      <description>&lt;P&gt;I did read this thread and did all suggested options but error still exists as permission denied. Please advice.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 07:13:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133665#M96332</guid>
      <dc:creator>mothi86</dc:creator>
      <dc:date>2016-10-18T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133666#M96333</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/13790/mothi86.html" nodeid="13790"&gt;@Mothilal marimuthu&lt;/A&gt; thanks for sharing that. I'll check it again to see if there's anything else needed.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 07:19:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133666#M96333</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2016-10-18T07:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133667#M96334</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I followed the tutorial once again and found what caused this.&lt;/P&gt;&lt;P&gt;The tutorial instructs to install NiFi via Ambari. Then the NiFi process is started by 'nifi' user on sandbox.&lt;/P&gt;&lt;P&gt;On the other hand, it instructs to clone the 'iot-truck-streaming' project from github, under 'root' home directory (/root).&lt;/P&gt;&lt;P&gt;So, even if we add execute permission to the sh file, nifi user can't access anything under /root directory.&lt;/P&gt;&lt;P&gt;Copying /root/iot-truck-streaming dir to /home/nifi would be a work-around:&lt;/P&gt;&lt;PRE&gt;# ssh into sandbox with root user, then:
cp -rp /root/iot-truck-streaming /home/nifi&lt;/PRE&gt;&lt;P&gt;Then, specify:&lt;/P&gt;&lt;PRE&gt;/home/nifi/iot-truck-streaming/stream-simulator/generate.sh&lt;/PRE&gt;&lt;P&gt;as 'Command Arguments' on NiFi.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 13:19:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133667#M96334</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2016-10-18T13:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133668#M96335</link>
      <description>&lt;P&gt;Thanks and it helps. Appreciate your support.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2016 03:51:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133668#M96335</guid>
      <dc:creator>mothi86</dc:creator>
      <dc:date>2016-10-19T03:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133669#M96336</link>
      <description>&lt;P&gt;@kkawamura i have run &lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;cp -rp /root/iot-truck-streaming /home/nifi and changed the command arg but still after completion of storm deployment there is no data emitted from kafka spout maybe because nifi does not ingest data in kafka.  pls help i m stuck on it&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:34:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133669#M96336</guid>
      <dc:creator>fazila_shaikh4</dc:creator>
      <dc:date>2017-03-29T02:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133670#M96337</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3908/kkawamura.html" nodeid="3908"&gt;@kkawamura&lt;/A&gt; i have referred this link &lt;A href="https://community.cloudera.com/"&gt;https://github.com/hortonworks-gallery/tutorials/blob/master/2015-09-25-processing-real-time-event-stream-with-apache-storm.md&lt;/A&gt; for working on kafka and storm and for ingestion in hbase and hive followed following steps of link &lt;A href="https://community.cloudera.com/"&gt;http://saptak.in/writing/2015/09/24/ingesting-real-time-streams-hive-hbase&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:46:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133670#M96337</guid>
      <dc:creator>fazila_shaikh4</dc:creator>
      <dc:date>2017-03-29T02:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133671#M96338</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16531/fazilashaikh4.html" nodeid="16531"&gt;@fazila &lt;/A&gt; &lt;/P&gt;&lt;P&gt;Would you share NiFi UI screenshot around data ingestion part? Also, please try the steps explained at the answer on this thread above, "Redirect Error Stream' to capture error output of the process to see what is happening, as shown in the attached image." to see if the generate.sh have issue.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 05:44:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133671#M96338</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2017-03-29T05:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133672#M96339</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3908/kkawamura.html" nodeid="3908" target="_blank"&gt;@kkawamura&lt;/A&gt; my nifi service home path is /home/nifi-0.6.0.1.2.0.1-1 and i have pasted iot-streaming in /home/nifi this is shown &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14168-nifi-ui.png" style="width: 1236px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22173i080B62FF4B1DAEA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14168-nifi-ui.png" alt="14168-nifi-ui.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and also when i gave command arg in execute process /root/iot-truck-streaming, i m able to see nifi data in /root/nifi_output/truck_events. &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/14170-execute-process.png" target="_blank"&gt;execute-process.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:08:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133672#M96339</guid>
      <dc:creator>fazila_shaikh4</dc:creator>
      <dc:date>2019-08-19T09:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133673#M96340</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16531/fazilashaikh4.html" nodeid="16531"&gt;@fazila&lt;/A&gt; &lt;/P&gt;&lt;BLOCKQUOTE&gt;when i gave command arg in execute process /root/iot-truck-streaming, i m able to see nifi data in /root/nifi_output/truck_events&lt;/BLOCKQUOTE&gt;&lt;P&gt;Does this mean ExecuteProcess was able to run the shell command but output data is written in /root/iot-truck-streaming directory?&lt;/P&gt;&lt;P&gt;The generate shell doesn't need an argument. I haven't tried to pass an argument but IIRC it generates data to its standard output, and NiFi ExecuteProcess will read data from that standard output, then create FlowFiles containing the generated data.&lt;/P&gt;&lt;P&gt;No FlowFile was generated when you only specify the shell path at 'Command Arguments' processor property?&lt;/P&gt;&lt;P&gt;Also, just in case, since 'Batch Duration' is 10 sec, you need to leave ExecuteProcess running at least for 10 sec to see generated FlowFile.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 09:23:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133673#M96340</guid>
      <dc:creator>kkawamura</dc:creator>
      <dc:date>2017-03-31T09:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi executeprocess does not generate realtime data</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133674#M96341</link>
      <description>&lt;P&gt;thanks it worked!!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2017 20:40:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-executeprocess-does-not-generate-realtime-data/m-p/133674#M96341</guid>
      <dc:creator>akshay_katti</dc:creator>
      <dc:date>2017-12-20T20:40:07Z</dc:date>
    </item>
  </channel>
</rss>

