-Re: How to make sure flume WAL is finished before shut it down
Shengjie Min 2012-12-05, 10:36
Is it the case just to go to $flume.agent.logdir, and check if there is any
WAL files left there? if the directory is empty, it means WAL has been
dealt with, then we are safe to shutdown flume process?
On 5 December 2012 10:07, Shengjie Min <[EMAIL PROTECTED]> wrote:
> I've asked this question in the flume user group, didn't quite get the
> we are running flume 0.9.4, We want to make sure flume's WAL is completed
> before we shut down the flume process. Is there anyway or any metrics
> exposed can indicate WAL is fully processed so that it's safe to bring it
> down gracefully? How do I know flume has finished all the data?
> In our case, we are switching to another input approach, so flume will not
> be getting any inputs, it only has a certain size backlog needs to be
> cleaned up. So it's more like making sure all the data is delivered before
> gracefully shutdown this flume agent forever.
> All the best,
> Shengjie Min
All the best,