You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/09 02:53:28 UTC

[jira] [Updated] (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: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)