flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <cshannon...@gmail.com>
Subject Re: Is Memory Channel data lost on process stop?
Date Wed, 28 May 2014 20:44:47 GMT
Good question; I look forward to someone cogently answering it.

Related, and you probably know this already, the only signals that invoke
the JVM shutdown hooks (clean shutdown) are HUP and TERM. (kill -HUP <PID>;
kill -TERM <PID>).
On May 28, 2014 3:37 PM, "Otis Gospodnetic" <otis.gospodnetic@gmail.com>
wrote:

> Hi,
>
> What happens with events buffered in the Memory channel (say via the
> Spillable version - https://issues.apache.org/jira/browse/FLUME-1227 or
> via its Durable cousin - https://issues.apache.org/jira/browse/FLUME-896) when the process
is stopped?
>
> Say the process is stopped gently and appropriately, via an init.d script
> or a gentle kill (not kill -9).
>
> Is the data that was in memory still lost?
> Or is there a Shutdown hook that gets run to preserve data on disk?
>
> Thanks,
> Otis
> --
> Performance Monitoring * Log Analytics * Search Analytics
> Solr & Elasticsearch Support * http://sematext.com/
>

Mime
View raw message