Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 01-17-2019 12:37 PM - edited 09-16-2022 07:04 AM
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.
Created 01-23-2019 10:49 AM
Created 01-17-2019 01:19 PM
Created 01-17-2019 02:23 PM
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.
-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
Created 01-23-2019 10:49 AM
Created 01-23-2019 06:18 PM
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!