<?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: Create File Using NiFi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-File-Using-NiFi/m-p/104227#M42276</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3168/breandanparland.html" nodeid="3168"&gt;@Breandán Mac Parland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can use the PutHDFS processor.&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This article might help as well:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/25232/adding-user-defined-attributes-to-nifi-flowfiles.html" target="_blank"&gt;https://community.hortonworks.com/questions/25232/adding-user-defined-attributes-to-nifi-flowfiles.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2016 20:46:36 GMT</pubDate>
    <dc:creator>Carolyn</dc:creator>
    <dc:date>2016-09-29T20:46:36Z</dc:date>
    <item>
      <title>Create File Using NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-File-Using-NiFi/m-p/104226#M42275</link>
      <description>&lt;P&gt;I'm looking to create a file named _SUCCESS in a HDFS location containing some attributes. I reckon I could do this using a script processor but is there another way?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 20:43:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-File-Using-NiFi/m-p/104226#M42275</guid>
      <dc:creator>breandan_parlan</dc:creator>
      <dc:date>2016-09-29T20:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create File Using NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-File-Using-NiFi/m-p/104227#M42276</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3168/breandanparland.html" nodeid="3168"&gt;@Breandán Mac Parland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can use the PutHDFS processor.&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hadoop.PutHDFS/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This article might help as well:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/25232/adding-user-defined-attributes-to-nifi-flowfiles.html" target="_blank"&gt;https://community.hortonworks.com/questions/25232/adding-user-defined-attributes-to-nifi-flowfiles.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 20:46:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-File-Using-NiFi/m-p/104227#M42276</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-09-29T20:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create File Using NiFi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-File-Using-NiFi/m-p/104228#M42277</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3168/breandanparland.html" nodeid="3168"&gt;@Breandán Mac Parland&lt;/A&gt;
If you are looking for a way to generate a file with the name "_SUCCESS", you can use the GenerateFlowFile processor to generate a file with random data as its content.  You can the use an UpdateAttribute processor to set the filename to "_SUCCESS" by adding a new property with a property name equal to "filename" and a value of "_SUCCESS".&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2016 23:18:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Create-File-Using-NiFi/m-p/104228#M42277</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2016-09-29T23:18:02Z</dc:date>
    </item>
  </channel>
</rss>

