You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/05 02:55:27 UTC

[jira] [Updated] (STORM-799) Consolidate IErrorReporter and reportError methods

     [ https://issues.apache.org/jira/browse/STORM-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-799:
-------------------------------
    Component/s: storm-core

> Consolidate IErrorReporter and reportError methods
> --------------------------------------------------
>
>                 Key: STORM-799
>                 URL: https://issues.apache.org/jira/browse/STORM-799
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-core
>            Reporter: Simon Cooper
>            Assignee: Aaron Dossett
>            Priority: Minor
>             Fix For: 0.11.0
>
>
> ISpoutOutputCollector and IBasicOutputCollector all have a reportError(Throwable) method. This is identical to the method on IErrorReporter (which IBasicErrorReporter extends)
> It would help shared library code if all three collector types extended IErrorReporter, so that the same error-handling code can be used with all three component types.
> Additionally, it would be good if IBasicBolt passed an IErrorReporter in its prepare method, so the bolt can report errors during preparation, not just in tuple processing, and to ease interop between IRichBolt and IRichSpout which both have access to an error-reporting object during preparation.



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