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

Incorrect bfs-ordering in DefaultResourceAwareStrategy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.0.0
    • None
    • storm-core
    • Important

    Description

      I have designed a simple diamond topology: spout, N parallel processingBolts, joinBolt.
      https://github.com/smirnp/storm-benchmark/blob/1.0.0/src/storm/benchmark/DiamondTopology.java

      For 6-components topopoly the breadth-first search (bfs method in DefaultResourceAwareStrategy.java:323) returns 13 components, which is obviously incorrect for further scheduling (it fails on memory limits trying to schedule already scheduled tasks in priorityToExecutorMap).

      I have reimplemented bfs with the comparison with the original-one (https://github.com/smirnp/storm-benchmark/blob/1.0.0/bfs.txt)
      Please check it and fix the bug in next releases.

      P.S. storm.yaml user for scheduling is here:
      https://github.com/smirnp/storm-benchmark/blob/1.0.0/storm.yaml

      Best regards,
      Thanks

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smirnp Pavel Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: