Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # user >> Problem Events

Copy link to this message
Re: Problem Events
Both reasonable suggestions.  What would a custom sink look like in this
case, and how would I only eliminate the problem events since I don't know
what they are until they are attempted by the "real" sink?

My philosophical concern (in general) is that we're taking the approach of
exhaustively finding and eliminating possible failure cases.  It's not
possible to eliminate every single failure case, so shouldn't there be a
method of last resort to eliminate problem events from the channel?

-- Jeremy

On Wed, Jul 24, 2013 at 3:45 PM, Hari Shreedharan <[EMAIL PROTECTED]
> wrote:

> Or you could write a custom sink that removes this event (more work of
> course)
> Thanks,
> Hari
> On Wednesday, July 24, 2013 at 3:36 PM, Roshan Naik wrote:
> if you have a way to identify such events.. you may be able to use the
> Regex interceptor to toss them out before they get into the channel.
> On Wed, Jul 24, 2013 at 2:52 PM, Jeremy Karlson <[EMAIL PROTECTED]>wrote:
> Hi everyone.  My Flume adventures continue.
> I'm in a situation now where I have a channel that's filling because a
> stubborn message is stuck.  The sink won't accept it (for whatever reason;
> I can go into detail but that's not my point here).  This just blocks up
> the channel entirely, because it goes back into the channel when the sink
> refuses.  Obviously, this isn't ideal.
> I'm wondering what mechanisms, if any, Flume has to deal with these
> situations.  Things that come to mind might be:
> 1. Ditch the event after n attempts.
> 2. After n attempts, send the event to a "problem area" (maybe a different
> source / sink / channel?)  that someone can look at later.
> 3. Some sort of mechanism that allows operators to manually kill these
> messages.
> I'm open to suggestions on alternatives as well.
> Thanks.
> -- Jeremy