<?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 to Know in which directory data stores after the process is completed in Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158896#M33078</link>
    <description>&lt;P&gt;Thank you Zblaco&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 21:56:40 GMT</pubDate>
    <dc:creator>ANJIREDDY</dc:creator>
    <dc:date>2016-06-28T21:56:40Z</dc:date>
    <item>
      <title>How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158891#M33073</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I created one process  executed successfully GetFile operation , How to find in which directory the file is stored.&lt;/P&gt;&lt;P&gt;steps i followed&lt;/P&gt;&lt;P&gt;1.Opened web UI localhost:8080/nifi/&lt;/P&gt;&lt;P&gt;2.Getfile Processor&lt;/P&gt;&lt;P&gt;3.Linked Processor with log attribute with success relation&lt;/P&gt;&lt;P&gt;4.start process&lt;/P&gt;&lt;P&gt;5.File is moved from local file system to Nifi Directory&lt;/P&gt;&lt;P&gt;how to find that one in which folder it was stored.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 16:34:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158891#M33073</guid>
      <dc:creator>ANJIREDDY</dc:creator>
      <dc:date>2016-06-27T16:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158892#M33074</link>
      <description>&lt;P&gt;Typically the GetFile processor it pulls it into NiFi so you can do some type of processing or routing. It doesn't really put the file anywhere in particular. &lt;/P&gt;&lt;P&gt; You should use something like the PutFile processor to move the file to a location of your choosing. Just make sure to route the success relationship to the PutFile processor and configure the PutFile processing to your liking.&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.GetFile/index.html"&gt;GetFile&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.PutFile/index.html"&gt;PutFile&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 01:15:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158892#M33074</guid>
      <dc:creator>zblanco</dc:creator>
      <dc:date>2016-06-28T01:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158893#M33075</link>
      <description>&lt;P&gt;Normally The Content Repository holds the content for all the FlowFiles in the system. By default, it is installed in the same root installation directory as all the other repositories; as a admin you can configure it on a separate drive if available.  e.g. check your {nifi_install_dir}/content_repository for contents.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 01:40:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158893#M33075</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2016-06-28T01:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158894#M33076</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11452/reddyam3.html" nodeid="11452" target="_blank"&gt;@AnjiReddy Anumolu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Easy way to get hold of your file is from provenance:&lt;/P&gt;&lt;P&gt;- on NiFi UI, click provenance button on top right corner&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5311-screen-shot-2016-06-28-at-72103-am.png" style="width: 952px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20805iD33720330BD4C6C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5311-screen-shot-2016-06-28-at-72103-am.png" alt="5311-screen-shot-2016-06-28-at-72103-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- find the event for your file, click on "view details" button&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5312-screen-shot-2016-06-28-at-72333-am.png" style="width: 3318px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20806i207D90F7FFD74CD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5312-screen-shot-2016-06-28-at-72333-am.png" alt="5312-screen-shot-2016-06-28-at-72333-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- you can view or download the file on the "contents" tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5313-screen-shot-2016-06-28-at-72527-am.png" style="width: 1586px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20807iC95D7ABC255CE4D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5313-screen-shot-2016-06-28-at-72527-am.png" alt="5313-screen-shot-2016-06-28-at-72527-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if you need to see the file contents on your server, search in the content_repository for file named as "identifier" from  output claim [ie 1467063966583-11 as in screenshot above] @ "offset" [ie 463775 as in screenshot above] .&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5314-screen-shot-2016-06-28-at-74030-am.png" style="width: 1300px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/20808i45C33C03F0AE6114/image-size/medium?v=v2&amp;amp;px=400" role="button" title="5314-screen-shot-2016-06-28-at-74030-am.png" alt="5314-screen-shot-2016-06-28-at-74030-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:09:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158894#M33076</guid>
      <dc:creator>jgeorge</dc:creator>
      <dc:date>2019-08-18T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158895#M33077</link>
      <description>&lt;P&gt;Both of the above answers are correct. Just to provide a full picture of what is happening...&lt;/P&gt;&lt;P&gt;GetFile picks up the file from directory and brings it into NiFI's content_repository, which as milind pointed out is by default located under {nifi_install_dir}/content_repository. This directory is not meant to be used by the user, it is for NiFi's internal purposes.&lt;/P&gt;&lt;P&gt;The FlowFile is then transferred to LogAttribute which logs information, and I assume if that is the end of your flow then you must have marked the success relationship on LogAttribute as auto-terminated. At this point the flow file is removed from NiFi and the content in the content repository will eventually be removed.&lt;/P&gt;&lt;P&gt;NiFi is not meant to be a storage system where you bring data in and then leave it there, your flow would have to send the data somewhere after GetFile.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:49:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158895#M33077</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2016-06-28T21:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158896#M33078</link>
      <description>&lt;P&gt;Thank you Zblaco&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:56:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158896#M33078</guid>
      <dc:creator>ANJIREDDY</dc:creator>
      <dc:date>2016-06-28T21:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158897#M33079</link>
      <description>&lt;P&gt;&lt;EM&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/9842/mpandit.html" nodeid="9842"&gt;@milind pandit&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:57:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158897#M33079</guid>
      <dc:creator>ANJIREDDY</dc:creator>
      <dc:date>2016-06-28T21:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158898#M33080</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/466/jgeorge.html" nodeid="466"&gt;@Jobin George&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:57:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158898#M33080</guid>
      <dc:creator>ANJIREDDY</dc:creator>
      <dc:date>2016-06-28T21:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158899#M33081</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 21:58:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158899#M33081</guid>
      <dc:creator>ANJIREDDY</dc:creator>
      <dc:date>2016-06-28T21:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158900#M33082</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/41859/how-to-know-in-which-directory-data-stores-after-t.html#"&gt;@AnjiReddy Anumolu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me start off by making sure I fully understand the dataflow you have created to better answer your question. You have added a getFile processor to your flow which will pickup file(s) from a local file system directory and then sends them via the success relationship to a logAttribute processor.&lt;/P&gt;&lt;P&gt;What did you do with the logAttributes's success relationship?&lt;/P&gt;&lt;P&gt;If it is auto-terminated, you are essentially telling NiFi you are done with the files following a successful logging of the file(s) FlowFile attributes/metadata. If the success relationship has not been defined the processor will remain invalid and cannot be run. In this case the file(s) picked up by the getFile processor will remain queued on the connection between the getFile processor and the logAttribute processor.&lt;/P&gt;&lt;P&gt;In either case, when NiFi ingests file(s) they are placed in the NiFi content repository. The location of the content repository is defined/configured in the nifi.properties file. The default places them in a directory created within the default NiFi installation directory:&lt;/P&gt;&lt;PRE&gt;nifi.content.repository.directory.default=./content_repository &lt;/PRE&gt;&lt;P&gt;NiFi stores file(s) in what are known as claims to make most efficient use of the system's hard disks. A claim can contain 1 to many files. The default claim configuration is also defined/configured in the nifi.properties file. The default configuration is as follows:&lt;/P&gt;&lt;PRE&gt;nifi.content.claim.max.appendable.size=10 MB 
nifi.content.claim.max.flow.files=100&lt;/PRE&gt;&lt;P&gt;For files smaller then 10 MB they may be stored with other files with up to 100 total files in a single claim. If a file is larger then 10 MB it will end up in a claim of one. At the same time files are written to a claim, FlowFile attributes/metadata is written about the ingested files in the flowfile repository. The location of the flowfile repository is also defined/configured in the nifi.properties file:&lt;/P&gt;&lt;PRE&gt;nifi.flowfile.repository.directory=./flowfile_repository &lt;/PRE&gt;&lt;P&gt;These FlowFile attributes/metadata will contain information such as filename, filesize, location of claim in content repository, claim offset, etc... The claim offset is the starting byte location of a particular file's content within a claim. The fileSize defines the number of bytes from that offset that makes up the compete data.&lt;/P&gt;&lt;P&gt;The nifi-app.log contains fairly robust logging by default (configured in logback.xml file). When NiFi ingest files, NiFi will log that and that log line will contain information about the claim (location and offset). When NiFi auto-terminates FlowFiles they are removed from the content repository. Depending on the content repository archive setup, the file(s) may be archived for a period of time. In the case of archived file(s), it can be replayed using the provenance NiFi UI.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 03:27:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158900#M33082</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2016-06-29T03:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158901#M33083</link>
      <description>&lt;P&gt;&lt;STRONG&gt;thank you &lt;A rel="user" href="https://community.cloudera.com/users/363/bbende.html" nodeid="363"&gt;@Bryan Bende&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2016 14:20:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158901#M33083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-06-29T14:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Know in which directory data stores after the process is completed in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158902#M33084</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11452/reddyam3.html" nodeid="11452"&gt;@AnjiReddy Anumolu&lt;/A&gt;&lt;P&gt;Just to add a little more detail to the above response from &lt;A rel="user" href="https://community.cloudera.com/users/416/zblanco.html" nodeid="416"&gt;@zblanco&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When NiFi ingest data, that data is turned in to NiFi FlowFiles.  A NiFi FlowFile consists of Attributes (Metadata) about the actual data and the physical data. The FlowFile metadata is stored in the FlowFile repository as well as JVM heap memory for faster performance. The FlowFile Attributes includes things like filename, ingest time, lineage age, filesize, what connection the FlowFile currently resides in dataflow, any user defined metadata, or processor added metadata, etc....). The physical bytes that make up the actual data content is written to claims within the NiFi content repository. A claim can contain the bytes for 1 to many ingest data files.  For more info on the content repository and how claims work, see the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/82308/understanding-how-nifis-content-repository-archivi.html"&gt;https://community.hortonworks.com/articles/82308/understanding-how-nifis-content-repository-archivi.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2017 19:39:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Know-in-which-directory-data-stores-after-the-process/m-p/158902#M33084</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-07-26T19:39:34Z</dc:date>
    </item>
  </channel>
</rss>

