<?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 i can set getFile Path for Nifi. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180002#M77707</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74211/atiftariq.html" nodeid="74211" target="_blank"&gt;@Atif
 Tariq
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case1:-&lt;/STRONG&gt;&lt;BR /&gt;If your file is in&lt;STRONG&gt; local filesystem&lt;/STRONG&gt; then you can use &lt;STRONG&gt;get file processor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72462-getfile-from-local.png" style="width: 1706px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19339iB7BF3E7327567CC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72462-getfile-from-local.png" alt="72462-getfile-from-local.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Input Directory&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;/demo/data&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;File Filter&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;cdrs.txt&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Keep Source File&lt;/P&gt;&lt;PRE&gt;false //if set to false delete the file after fetch,if true don't delete the file&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Case2:-&lt;/STRONG&gt;&lt;BR /&gt;If your file is in &lt;STRONG&gt;Hadoop File system(HDFS)&lt;/STRONG&gt; then you need to use &lt;STRONG&gt;GetHDFS processor &lt;/STRONG&gt;to pull the file from Hdfs to NiFi.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72463-gethdfs.png" style="width: 2033px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19340iD5BBC64C3F4ECEB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72463-gethdfs.png" alt="72463-gethdfs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you are using kerberos then you need to specify principal and keytab values in the properties.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hadoop Configuration Resources
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;path to core-site.xml,hdfs-site.xml&amp;gt; //we need to provide the file path for core-site.xml,hdfs-site.xml here&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Directory
&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;/demo/data&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Keep Source File
&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;false //if set to false delete the file after fetch,if true don't delete the file&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;File Filter Regex&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;cdrs.txt&lt;/PRE&gt;&lt;P&gt;Let us know if you are having facing issues..!!&lt;/P&gt;</description>
    <pubDate>Sun, 18 Aug 2019 09:15:30 GMT</pubDate>
    <dc:creator>Shu_ashu</dc:creator>
    <dc:date>2019-08-18T09:15:30Z</dc:date>
    <item>
      <title>How i can set getFile Path for Nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180001#M77706</link>
      <description>&lt;P&gt;How i can set getFile Path for Nifi. it is giving me error as i mentioned in picture. Please help. Thanks in Advance.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7203i2344CD74DBBB81EC/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="hortonworks.jpg" title="hortonworks.jpg" /&gt;</description>
      <pubDate>Thu, 26 Apr 2018 12:42:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180001#M77706</guid>
      <dc:creator>atif_tariq</dc:creator>
      <dc:date>2018-04-26T12:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: How i can set getFile Path for Nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180002#M77707</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74211/atiftariq.html" nodeid="74211" target="_blank"&gt;@Atif
 Tariq
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case1:-&lt;/STRONG&gt;&lt;BR /&gt;If your file is in&lt;STRONG&gt; local filesystem&lt;/STRONG&gt; then you can use &lt;STRONG&gt;get file processor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72462-getfile-from-local.png" style="width: 1706px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19339iB7BF3E7327567CC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72462-getfile-from-local.png" alt="72462-getfile-from-local.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Input Directory&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;/demo/data&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;File Filter&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;cdrs.txt&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Keep Source File&lt;/P&gt;&lt;PRE&gt;false //if set to false delete the file after fetch,if true don't delete the file&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Case2:-&lt;/STRONG&gt;&lt;BR /&gt;If your file is in &lt;STRONG&gt;Hadoop File system(HDFS)&lt;/STRONG&gt; then you need to use &lt;STRONG&gt;GetHDFS processor &lt;/STRONG&gt;to pull the file from Hdfs to NiFi.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="72463-gethdfs.png" style="width: 2033px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19340iD5BBC64C3F4ECEB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="72463-gethdfs.png" alt="72463-gethdfs.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you are using kerberos then you need to specify principal and keytab values in the properties.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hadoop Configuration Resources
&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;path to core-site.xml,hdfs-site.xml&amp;gt; //we need to provide the file path for core-site.xml,hdfs-site.xml here&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Directory
&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;/demo/data&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;Keep Source File
&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;false //if set to false delete the file after fetch,if true don't delete the file&lt;/PRE&gt;
&lt;/DIV&gt;&lt;P&gt;&lt;STRONG&gt;File Filter Regex&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;cdrs.txt&lt;/PRE&gt;&lt;P&gt;Let us know if you are having facing issues..!!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:15:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180002#M77707</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-08-18T09:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: How i can set getFile Path for Nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180003#M77708</link>
      <description>&lt;P&gt;Right Said, Thank you so so so much. you saved my lot of efforts.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 13:06:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180003#M77708</guid>
      <dc:creator>atif_tariq</dc:creator>
      <dc:date>2018-04-26T13:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: How i can set getFile Path for Nifi.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180004#M77709</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/74211/atiftariq.html" nodeid="74211"&gt;@Atif
 Tariq
&lt;/A&gt; &lt;BR /&gt;No Probs ..!!&lt;/P&gt;&lt;P&gt;If the Answer addressed your question, &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>Thu, 26 Apr 2018 13:35:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-i-can-set-getFile-Path-for-Nifi/m-p/180004#M77709</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-04-26T13:35:28Z</dc:date>
    </item>
  </channel>
</rss>

