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

Derek Dagit reassigned STORM-181:
---------------------------------

    Assignee: Derek Dagit

> 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
>            Assignee: 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)

Reply via email to