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

IllegalArgumentException in ConstraintSolverStrategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • None

    Description

      We found this scheduling error based on our internal mirror.

      2019-08-06 13:00:20.344 o.a.s.s.r.ResourceAwareScheduler timer [ERROR] propane-0-170-1564778552 Internal Error - Exception thrown when scheduling. Please check logs for details
      java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Don't know how to convert null to int
              at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_181]
              at java.util.concurrent.FutureTask.get(FutureTask.java:206) ~[?:1.8.0_181]
              at org.apache.storm.scheduler.resource.ResourceAwareScheduler.scheduleTopology(ResourceAwareScheduler.java:164) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.scheduler.resource.ResourceAwareScheduler.schedule(ResourceAwareScheduler.java:117) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.scheduler.blacklist.BlacklistScheduler.schedule(BlacklistScheduler.java:118) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.daemon.nimbus.Nimbus.computeNewSchedulerAssignments(Nimbus.java:2092) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.daemon.nimbus.Nimbus.lockingMkAssignments(Nimbus.java:2256) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.daemon.nimbus.Nimbus.mkAssignments(Nimbus.java:2242) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.daemon.nimbus.Nimbus.mkAssignments(Nimbus.java:2187) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.daemon.nimbus.Nimbus.lambda$launchServer$29(Nimbus.java:2890) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.StormTimer$1.run(StormTimer.java:110) [storm-client-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.StormTimer$StormTimerTask.run(StormTimer.java:226) [storm-client-2.0.1.y.jar:2.0.1.y]
      Caused by: java.lang.IllegalArgumentException: Don't know how to convert null to int
              at org.apache.storm.utils.ObjectReader.getInt(ObjectReader.java:55) ~[storm-client-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.scheduler.resource.strategies.scheduling.ConstraintSolverStrategy.schedule(ConstraintSolverStrategy.java:263) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at org.apache.storm.scheduler.resource.ResourceAwareScheduler.lambda$scheduleTopology$3(ResourceAwareScheduler.java:161) ~[storm-server-2.0.1.y.jar:2.0.1.y]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_181]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_181]
              at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_181]
      

      Attachments

        Issue Links

          Activity

            People

              ethanli Ethan Li
              ethanli Ethan Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 50m
                  50m