Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2.0
-
None
-
None
Description
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]}}
Attachments
Issue Links
- is related to
-
STORM-3734 IntegerValidator doesn't force the object type to be Integer
- Closed