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

exit-process! does not always exit the process, but throws an exception instead

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.9.3
    • storm-core
    • None

    Description

      I'll try to put up a pull request shortly.

      ```
      diff --git a/storm-core/src/clj/backtype/storm/util.clj b/storm-core/src/clj/backtype/storm/util.clj
      index 7bd4991..398584f 100644
      — a/storm-core/src/clj/backtype/storm/util.clj
      +++ b/storm-core/src/clj/backtype/storm/util.clj
      @@ -316,7 +316,7 @@

      (defn exit-process!
      [val & msg]

      • (log-error (RuntimeException. msg) "Halting process: " msg)
        + (log-error (RuntimeException. (str msg)) "Halting process: " msg)
        (.exit (Runtime/getRuntime) val))
        ```

      Attachments

        Activity

          People

            revans2 Robert Joseph Evans
            revans2 Robert Joseph Evans
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: