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

Flux doesn't set return code to non-zero when there's any exception while deploying topology to remote cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0, 2.0.0
    • 1.0.0
    • Flux
    • None

    Description

      Flux.runCli() swallows any Exceptions when deploying topology remotely, while StormSubmitter.submitTopology() can throw exceptions.
      (AlreadyAliveException, InvalidTopologyException, AuthorizationException, and so on)

      It just prints warning log, and return code is 0, not non-zero.

      You can easily reproduce via deploying same topology twice with Flux.

      Attachments

        Activity

          People

            kabhwan Jungtaek Lim
            kabhwan Jungtaek Lim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: