You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2015/02/11 19:13:15 UTC

[jira] [Commented] (STORM-545) DRCP does not return a cause of failure

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

Robert Joseph Evans commented on STORM-545:
-------------------------------------------

The hardest part here is we need an additional thrift API so that the error message can be sent back.

> DRCP does not return a cause of failure
> ---------------------------------------
>
>                 Key: STORM-545
>                 URL: https://issues.apache.org/jira/browse/STORM-545
>             Project: Apache Storm
>          Issue Type: Wish
>    Affects Versions: 0.9.2-incubating
>            Reporter: MichaƂ Kozak
>              Labels: newbie
>
> Throwing the {{backtype.storm.topology.FailedException}} is a way  to report an error. Unfortunately the clue of the error is not transmitted to the {{backtype.storm.utils.DRPCClient}}. {{DRPCClient}} catches {{backtype.storm.generated.DRPCExecutionException}} that does not carry any cause. It carries a static message ??"Request failed"??.
> The optimal solution would be carrying {{FailedException}} or its subclass, or at least its message.



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