You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Derek Dagit (JIRA)" <ji...@apache.org> on 2013/12/20 21:52:10 UTC

[jira] [Commented] (STORM-181) Wrong config types submitted with topologies can bring nimbus down

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

Derek Dagit commented on STORM-181:
-----------------------------------

https://github.com/apache/incubator-storm/pull/11

> Wrong config types submitted with topologies can bring nimbus down
> ------------------------------------------------------------------
>
>                 Key: STORM-181
>                 URL: https://issues.apache.org/jira/browse/STORM-181
>             Project: Apache Storm (Incubating)
>          Issue Type: Bug
>            Reporter: Derek Dagit
>
> If a user submits a topology with a config that does not match its schema (e.g., String "2" vs Number 2), nimbus will accept the topology but can fail with ClassCastException when it attempts to access the config.
> The exception to this is when the config is read from a file on the client side.  In that case the configuration is validated.  But if the configuration is set in the code or passed on the command line with -c, it will not be validated.
> We should validate the configurations in nimbus when the topology is submitted.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)