flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hari Shreedharan <hshreedha...@cloudera.com>
Subject Re: Forcing file Channel to be flushed before shutting down Flume
Date Tue, 19 Aug 2014 17:18:29 GMT
Hi Yann,

Yes, at this point - there is no way to clear the channel before the 
agent dies. You really have to wait for it to be cleared via the 
monitoring API. The File Channel is meant to keep data through restarts 
- so clearing the channel before shutdown was never really considered in 
the design.

Hari

Yann Barraud wrote:
>
> Hi,
>
> Is there a way to control that File Channel is flushed before shutting
> down a Flume node (scaling down infrastructure without loosing data) ?
> Should I just monitor channel size through monitoring API ?
>
> Thanks.
>
> Regards,
> Yann Barraud

Mime
View raw message