Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3727

SUPERVISOR_SLOTS_PORTS could be list of Longs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      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

            Activity

              People

              • Assignee:
                agresch Aaron Gresch
                Reporter:
                agresch Aaron Gresch
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m