You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2015/09/11 18:43:47 UTC

[jira] [Commented] (STORM-1044) Setting dop to zero does not raise an error

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

Matthias J. Sax commented on STORM-1044:
----------------------------------------

I think the easiest way to fix this, would be to check the {{parallelism_hint}} in {{TopologyBuilder}}. If you think this is the right approach, I could fix this issues by myself. Otherwise, please let me know which other approach would be appropriate.

> Setting dop to zero does not raise an error
> -------------------------------------------
>
>                 Key: STORM-1044
>                 URL: https://issues.apache.org/jira/browse/STORM-1044
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Matthias J. Sax
>            Priority: Minor
>
> While I did some testing (with automatic topology plugging code) I set the dop of all spouts and bolts to zero. I submitted the topology to {{LocalCluster}} and did not get any error.
> It took me a while to figure out that the wrongly specified dop were the reason for an empty result of the test. From a user point of view, it would be nice to raise an exception when the {{parallelism_hint}} is smaller than 1.



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