You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/05 03:57:26 UTC

[jira] [Updated] (STORM-461) exit-process! does not always exit the process, but throws an exception instead

     [ https://issues.apache.org/jira/browse/STORM-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-461:
-------------------------------
    Component/s: storm-core

> exit-process! does not always exit the process, but throws an exception instead
> -------------------------------------------------------------------------------
>
>                 Key: STORM-461
>                 URL: https://issues.apache.org/jira/browse/STORM-461
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>            Reporter: Robert Joseph Evans
>            Assignee: Robert Joseph Evans
>            Priority: Critical
>             Fix For: 0.9.3
>
>
> 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))
> ```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)