[
https://issues.apache.org/jira/browse/STORM-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102788#comment-14102788
]
ASF GitHub Bot commented on STORM-461:
--------------------------------------
GitHub user revans2 opened a pull request:
https://github.com/apache/incubator-storm/pull/231
STORM-461: exit-process! does not always exit the process, but throws an...
... exception instead
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/revans2/incubator-storm STORM-461
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-storm/pull/231.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #231
----
commit 9c9803b98efbea2b651a56051ed1d9b4d7c484b9
Author: Robert (Bobby) Evans <[email protected]>
Date: 2014-08-19T20:35:04Z
STORM-461: exit-process! does not always exit the process, but throws an
exception instead
----
> 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 (Incubating)
> Issue Type: Bug
> Reporter: Robert Joseph Evans
> Priority: Critical
>
> 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.2#6252)