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

ASF GitHub Bot commented on STORM-1533:
---------------------------------------

GitHub user abhishekagarwal87 opened a pull request:

    https://github.com/apache/storm/pull/1091

    STORM-1533: IntegerValidator for metric consumer parallelism hint

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/abhishekagarwal87/storm release1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1091.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1091
    
----
commit f8ee7b892a8236bb7f2f11ec427549d3bf438169
Author: Abhishek Agarwal <[email protected]>
Date:   2016-02-09T15:53:07Z

    STORM-1534: Pick correct version of jackson-annotations jar

commit 8fe6cf7dfbdaaae84e1272af0d4cf9292138da9e
Author: Abhishek Agarwal <[email protected]>
Date:   2016-02-09T15:53:51Z

    STORM-1533: IntegerValidator for metric consumer parallelism hint

----


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

Reply via email to