You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Brock Noland (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/02/22 02:06:48 UTC

[jira] [Issue Comment Edited] (FLUME-984) SinkRunner should catch unhanded exceptions and log them like PollingSourceRunner

    [ https://issues.apache.org/jira/browse/FLUME-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213164#comment-13213164 ] 

Brock Noland edited comment on FLUME-984 at 2/22/12 1:04 AM:
-------------------------------------------------------------

I think it's better than the current impl. However, yes I do prefer the scenario where a sink/source can throw and error which should not be retried.
                
      was (Author: brocknoland):
    I think it's better than the alternative. However, yes I do prefer the scenario where a sink/source can throw and error which should not be retried.
                  
> SinkRunner should catch unhanded exceptions and log them like PollingSourceRunner
> ---------------------------------------------------------------------------------
>
>                 Key: FLUME-984
>                 URL: https://issues.apache.org/jira/browse/FLUME-984
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources
>    Affects Versions: v1.0.0
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: FLUME-984-0.patch
>
>
> If a Sink throws any exception but EventDeliveryException the sink will die. We should catch the exception, perhaps backoff a bit, and retry like PollingSourceRunner.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira