<?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 how to copy files from local desktop lo hdfs location using NiFi? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-copy-files-from-local-desktop-lo-hdfs-location-using/m-p/119617#M38833</link>
    <description />
    <pubDate>Thu, 25 Aug 2016 21:39:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-08-25T21:39:20Z</dc:date>
    <item>
      <title>how to copy files from local desktop lo hdfs location using NiFi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-copy-files-from-local-desktop-lo-hdfs-location-using/m-p/119617#M38833</link>
      <description />
      <pubDate>Thu, 25 Aug 2016 21:39:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-copy-files-from-local-desktop-lo-hdfs-location-using/m-p/119617#M38833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-25T21:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to copy files from local desktop lo hdfs location using NiFi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-copy-files-from-local-desktop-lo-hdfs-location-using/m-p/119618#M38834</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134" target="_blank"&gt;@kishore sanchina&lt;/A&gt;&lt;P&gt;The simplest answer to your question is to use the ListFile processor to produce a list of the files from your local filesystem, feed that to a fetchFile processor that will pickup the content and then pass them to a PutHDFS processor to send them to your HDFS.  The listFile processor will maintain state based on lastModified time on the files to ensure the files are not listed more then once.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6969-screen-shot-2016-08-25-at-105659-am.png" style="width: 726px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22931i5EA56E6511C40D3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6969-screen-shot-2016-08-25-at-105659-am.png" alt="6969-screen-shot-2016-08-25-at-105659-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you right click on either of these NiFi processors you can select "usage" from the displayed context menu to get more details on the configuration of each of these.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 10:39:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-copy-files-from-local-desktop-lo-hdfs-location-using/m-p/119618#M38834</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-08-19T10:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to copy files from local desktop lo hdfs location using NiFi?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-copy-files-from-local-desktop-lo-hdfs-location-using/m-p/119619#M38835</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3134/sanchinakishore.html" nodeid="3134"&gt;@kishore sanchina&lt;/A&gt;  you will need to use a protocol.  If you simply want to "push" local files to nifi, you can use the ListenHTTP processor.  Then simply curl the file to nifi.  &lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 21:58:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-copy-files-from-local-desktop-lo-hdfs-location-using/m-p/119619#M38835</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-08-25T21:58:59Z</dc:date>
    </item>
  </channel>
</rss>

