You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Saisai Shao (JIRA)" <ji...@apache.org> on 2015/05/15 09:46:00 UTC

[jira] [Commented] (SPARK-7621) Report KafkaReceiver MessageHandler errors so StreamingListeners can take action

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

Saisai Shao commented on SPARK-7621:
------------------------------------

Hi [~jerluc], you could submit a related PR on Github, Spark community submits patch on Github rather than JIRA.

> Report KafkaReceiver MessageHandler errors so StreamingListeners can take action
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-7621
>                 URL: https://issues.apache.org/jira/browse/SPARK-7621
>             Project: Spark
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.3.0, 1.3.1
>            Reporter: Jeremy A. Lucas
>             Fix For: 1.3.1
>
>         Attachments: SPARK-7621.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Currently, when a MessageHandler (for any of the Kafka Receiver implementations) encounters an error handling a message, the error is only logged with:
> {code:none}
> case e: Exception => logError("Error handling message", e)
> {code}
> It would be _incredibly_ useful to be able to notify any registered StreamingListener of this receiver error (especially since this {{try...catch}} block masks more fatal Kafka connection exceptions).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org