Aaron Gresch created STORM-3727: ----------------------------------- Summary: 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
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)