<?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: ListFile on a huge directory in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ListFile-on-a-huge-directory/m-p/296894#M218480</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I feel ListS3 should work well even with massive data buckets.&lt;BR /&gt;It collects only metadata and create a flow file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below few things you can try and see :&lt;/P&gt;&lt;P&gt;1)&lt;BR /&gt;If you have multiple subdirectories inside that bucket, try to put filter for a specific directory in ListS3 processor (if this helps then you can run multiple processors in parallel pointing to same bucket but different specific sub directory)&lt;BR /&gt;In the screenshot attached, "2019/Q1" is the one specific directory in side bucket and ListS3 will list only the files of that specific directory.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-05-29 at 9.02.58 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27698i973044350C535218/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-05-29 at 9.02.58 PM.png" alt="Screenshot 2020-05-29 at 9.02.58 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-05-29 at 9.03.07 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/27699i7B13BB63A53A4D11/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2020-05-29 at 9.03.07 PM.png" alt="Screenshot 2020-05-29 at 9.03.07 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;Duplicate(copy and paste) the ListS3 processor (which you are trying to run), and run the newly created (duplicated) processor again.&lt;BR /&gt;As ListS3 tracks(internally) the files already listed, it will not re-list even if you stop and start, so easy way is to duplicate the processor and run that new processor and see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mahendra&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 15:50:07 GMT</pubDate>
    <dc:creator>hegdemahendra</dc:creator>
    <dc:date>2020-05-29T15:50:07Z</dc:date>
  </channel>
</rss>

