<?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 Possible to drain a Flume channel? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85067#M45141</link>
    <description>&lt;P&gt;If I were planning on decommisioning a node, is it possible to drain the flume channels? If I disable the sink, Flume doesn't proceed to do anything and if I change the batch size on the Kafka source to 0, it still fetches data.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:04:36 GMT</pubDate>
    <dc:creator>eric2025</dc:creator>
    <dc:date>2022-09-16T14:04:36Z</dc:date>
    <item>
      <title>Possible to drain a Flume channel?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85067#M45141</link>
      <description>&lt;P&gt;If I were planning on decommisioning a node, is it possible to drain the flume channels? If I disable the sink, Flume doesn't proceed to do anything and if I change the batch size on the Kafka source to 0, it still fetches data.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:04:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85067#M45141</guid>
      <dc:creator>eric2025</dc:creator>
      <dc:date>2022-09-16T14:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to drain a Flume channel?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85069#M45142</link>
      <description>The recommended path in this situation is to just comment out the sources line that specifies which sources are configured.:&lt;BR /&gt;&lt;BR /&gt;# tier1.sources = kafkasource1 kafkasource2 etc&lt;BR /&gt;&lt;BR /&gt;The flume agent can function without any sources and will then drain the channel through the sinks, without adding any new data to the channel.&lt;BR /&gt;&lt;BR /&gt;-pd</description>
      <pubDate>Thu, 17 Jan 2019 21:19:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85069#M45142</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2019-01-17T21:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to drain a Flume channel?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85071#M45143</link>
      <description>&lt;P&gt;Maybe it is draining in my case and keeping old data behind until its rotated? I commented out the source and a few minutes later it created log-305 with no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-rw-r--r-- 1 flume flume    0 Jan 17 05:47 in_use.lock
-rw-r--r-- 1 flume flume 1.6G Jan 17 22:10 log-302
-rw-r--r-- 1 flume flume   47 Jan 17 22:10 log-302.meta
-rw-r--r-- 1 flume flume 1.6G Jan 17 22:14 log-303
-rw-r--r-- 1 flume flume   47 Jan 17 22:13 log-303.meta
-rw-r--r-- 1 flume flume  99M Jan 17 22:14 log-304
-rw-r--r-- 1 flume flume   47 Jan 17 22:17 log-304.meta
-rw-r--r-- 1 flume flume    0 Jan 17 22:17 log-305
-rw-r--r-- 1 flume flume   47 Jan 17 22:17 log-305.meta&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Jan 2019 22:23:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85071#M45143</guid>
      <dc:creator>eric2025</dc:creator>
      <dc:date>2019-01-17T22:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to drain a Flume channel?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85362#M45144</link>
      <description>What is your channel size in the flume metrics page reported as? Is it decreasing?&lt;BR /&gt;&lt;BR /&gt;flume keeps at least the two most recent log files in the flume file channel at all times, regardless of whether it is fully drained or not. The best is to review the channel size in the flume metrics page, or on the channel size charts.&lt;BR /&gt;&lt;BR /&gt;-pd</description>
      <pubDate>Wed, 23 Jan 2019 18:49:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85362#M45144</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2019-01-23T18:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Possible to drain a Flume channel?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85390#M45145</link>
      <description>&lt;P&gt;It does decrease but I was monitoring the size of the directory and expected to be close to empty when done draining. It's good to know it just keeps the last two logs and I also noticed it creates a new empty checkpoint when its done. Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 02:18:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Possible-to-drain-a-Flume-channel/m-p/85390#M45145</guid>
      <dc:creator>eric2025</dc:creator>
      <dc:date>2019-01-24T02:18:04Z</dc:date>
    </item>
  </channel>
</rss>

