[
https://issues.apache.org/jira/browse/STORM-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ethan Li resolved STORM-3727.
-----------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
Thanks [~agresch]. I merged this to master
(ba7f969a3a046c5a312a394026d5d9dd755e04a0)
> SUPERVISOR_SLOTS_PORTS could be list of Longs
> ---------------------------------------------
>
> Key: STORM-3727
> URL: https://issues.apache.org/jira/browse/STORM-3727
> Project: Apache Storm
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: Aaron Gresch
> Assignee: Aaron Gresch
> Priority: Minor
> Fix For: 2.3.0
>
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
>
> A user reported:
> There's no guarantee that the {{supervisorConf.getOrDefault}} will be a List
> of Integers.
> Additionally, in ReadClusterState.java, {{.intValue()}} conversion is
> removed. Overall result
>
> {{java.lang.ClassCastException: java.lang.Long cannot be cast to
> java.lang.Integer
> at
> org.apache.storm.daemon.supervisor.ReadClusterState.<init>(ReadClusterState.java:101)
> ~[storm-server-2.2.0.jar:2.2.0]
> at
> org.apache.storm.daemon.supervisor.Supervisor.launch(Supervisor.java:310)
> ~[storm-server-2.2.0.jar:2.2.0]}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)