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

Stop user from killing topology before X (configured) amount of time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.x
    • None
    • storm-ui
    • None

    Description

      Currently user can kill topology directly without waiting for some amount of time so that all inflight messages will get processed. For example, storm is writing to file & user kills topology, file is not closed or moved to proper location. We need to educate operation guys to do the right things also there are some chances that it will be not followed causing system to go in inconsistent state.

      Can we set mandatory timeout (configurable) when user kills storm topology? User should not be allowed kill topology with time less than mentioned time.

      Some case:
      1) If topology is long running don't allow user to kill but time not less than mentioned one
      2) If topology is just deployed allow him to kill instantly (as it might be some mistake)
      3) Handle same cases from command-line.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Sachin Sachin Pasalkar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: