[
https://issues.apache.org/jira/browse/STORM-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15142248#comment-15142248
]
ASF GitHub Bot commented on STORM-1533:
---------------------------------------
Github user abhishekagarwal87 commented on the pull request:
https://github.com/apache/storm/pull/1091#issuecomment-182702569
Thanks for review @knusbaum . This PR has fix for STORM-1533 and
STORM-1534. Since commits have the individual JIRA ids attached, I have sent
the fix in same PR.
> topologies with metric consumers fail in config validation phase
> ----------------------------------------------------------------
>
> Key: STORM-1533
> URL: https://issues.apache.org/jira/browse/STORM-1533
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 0.10.0
> Reporter: Abhishek Agarwal
> Assignee: Abhishek Agarwal
>
> Storm expects the parallelism hint to be long. When the yaml is read,
> parallelism hint is read as an integer, and topology submission fails.
> {noformat}
> ,Exception in thread "main" java.lang.IllegalArgumentException: Field
> TOPOLOGY_METRICS_CONSUMER_REGISTER list entry must be of type class
> java.lang.Long. Object: 1 actual type: class java.lang.Integer
> at
> backtype.storm.validation.ConfigValidation$SimpleTypeValidator.validateField(ConfigValidation.java:90)
> at
> backtype.storm.validation.ConfigValidation$MetricRegistryValidator.validateField(ConfigValidation.java:476)
> at
> backtype.storm.validation.ConfigValidation$ListEntryCustomValidator.validateField(ConfigValidation.java:339)
> at
> backtype.storm.validation.ConfigValidation$ListEntryCustomValidator.validateField(ConfigValidation.java:323)
> at
> backtype.storm.validation.ConfigValidation.validateField(ConfigValidation.java:624)
> at
> backtype.storm.validation.ConfigValidation.validateFields(ConfigValidation.java:659)
> at
> backtype.storm.validation.ConfigValidation.validateFields(ConfigValidation.java:638)
> at backtype.storm.StormSubmitter.validateConfs(StormSubmitter.java:464)
> at
> backtype.storm.StormSubmitter.submit,TopologyAs(StormSubmitter.java:201)
> at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:288)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)