<?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: ExecuteScript in nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ExecuteScript-in-nifi/m-p/331605#M230921</link>
    <description>&lt;P&gt;Solution is to use ExecuteStreamCommand option. The reason is ExecuteScript in nifi is not pure python instead it's jython. So, to execute a python code, we only need to set the python path and the file path. The configuration for this can be seen from the image attached below.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image.png" style="width: 832px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32957i99C80D67FA68E9DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image.png" alt="Image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2021 13:29:17 GMT</pubDate>
    <dc:creator>m_adeel</dc:creator>
    <dc:date>2021-12-03T13:29:17Z</dc:date>
    <item>
      <title>ExecuteScript in nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecuteScript-in-nifi/m-p/331153#M230839</link>
      <description>&lt;P&gt;I am trying to get the data from elasticsearch from processor group via port. I want to apply some python code on the output data. How can I read the input and execute the code?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 06:30:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecuteScript-in-nifi/m-p/331153#M230839</guid>
      <dc:creator>m_adeel</dc:creator>
      <dc:date>2021-11-29T06:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: ExecuteScript in nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExecuteScript-in-nifi/m-p/331605#M230921</link>
      <description>&lt;P&gt;Solution is to use ExecuteStreamCommand option. The reason is ExecuteScript in nifi is not pure python instead it's jython. So, to execute a python code, we only need to set the python path and the file path. The configuration for this can be seen from the image attached below.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image.png" style="width: 832px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/32957i99C80D67FA68E9DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Image.png" alt="Image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 13:29:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExecuteScript-in-nifi/m-p/331605#M230921</guid>
      <dc:creator>m_adeel</dc:creator>
      <dc:date>2021-12-03T13:29:17Z</dc:date>
    </item>
  </channel>
</rss>

