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

Flux does not handle "diamond" topologies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.10.0
    • Flux
    • None

    Description

      From email report on user@:

      It builds something like below (imagine the arrow from A-> B, A-> C,
      B->D, and C->D)
      ---------------------------------------------------------
      Bolt_B
      Spout -> Bolt_A -> Bolt_D
      Bolt_C
      ---------------------------------------------------------

      I get an error below in FLUX.

      Exception in thread "main" java.lang.IllegalArgumentException: Bolt
      has already been declared for id bolt_D
      at backtype.storm.topology.TopologyBuilder.validateUnusedId(TopologyBuilder.java:212)
      at backtype.storm.topology.TopologyBuilder.setBolt(TopologyBuilder.java:139)
      at org.apache.storm.flux.FluxBuilder.buildStreamDefinitions(FluxBuilder.java:158)
      at org.apache.storm.flux.FluxBuilder.buildTopology(FluxBuilder.java:94)
      at org.apache.storm.flux.Flux.runCli(Flux.java:153)
      at org.apache.storm.flux.Flux.main(Flux.java:98)

      Attachments

        Activity

          People

            ptgoetz P. Taylor Goetz
            ptgoetz P. Taylor Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: