<?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 put files in flume spooldir one by one in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44613#M38455</link>
    <description>&lt;P&gt;Try using the timestamp interceptor.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2016 06:54:35 GMT</pubDate>
    <dc:creator>csguna</dc:creator>
    <dc:date>2016-09-01T06:54:35Z</dc:date>
    <item>
      <title>How to put files in flume spooldir one by one</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44188#M38454</link>
      <description>&lt;P&gt;i am using flume spooldir to put files in HDFS , but i am getting so many small files in HDFS. I thought of using batch size and roll interval but i don't want to get dependent on size and interval. So I decided to push files in flume spooldir one at a time. How can i do this ? Please help&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:35:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44188#M38454</guid>
      <dc:creator>indranil</dc:creator>
      <dc:date>2022-09-16T10:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to put files in flume spooldir one by one</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44613#M38455</link>
      <description>&lt;P&gt;Try using the timestamp interceptor.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 06:54:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44613#M38455</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2016-09-01T06:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to put files in flume spooldir one by one</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44614#M38456</link>
      <description>any examples you have ?</description>
      <pubDate>Thu, 01 Sep 2016 06:57:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44614#M38456</guid>
      <dc:creator>indranil</dc:creator>
      <dc:date>2016-09-01T06:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to put files in flume spooldir one by one</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44615#M38457</link>
      <description>&lt;P&gt;You can refer Hdfs sink timestamp escape sequence , there is alot of them you can use accordingly .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example&amp;nbsp;&lt;/P&gt;&lt;P&gt;U can use hdfs bucketing , for every one hour.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;agen1.sinks.hdfsSinks.hdfs.path = /data/flume/%{aa}/%y/%m/%d/%H/%M
agent1.sinks.hdfsSinks.hdfs.round = true
agen1.sinks.hdfsSinks.roundUnit = hour
agen1.sinks.hdfsSinks.roundValue = 1 &lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Sep 2016 07:05:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-put-files-in-flume-spooldir-one-by-one/m-p/44615#M38457</guid>
      <dc:creator>csguna</dc:creator>
      <dc:date>2016-09-01T07:05:15Z</dc:date>
    </item>
  </channel>
</rss>

