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

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

> 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
>          Issue Type: Bug
>          Components: storm-core
>            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.3.4#6332)

Reply via email to