Re: Use of System.exit() calls

2014-09-24 Thread Heiko Braun
For the records, here's the Jira: https://issues.apache.org/jira/browse/CASSANDRA-7997 On 19 Sep 2014, at 13:09, Heiko Braun wrote: > > ok, good to know. that's what I had in mind. > > On 19 Sep 2014, at 12:27, Benedict Elliott Smith > wrote: > >> However in config (e.g. DatabaseDescripto

Re: Use of System.exit() calls

2014-09-19 Thread Heiko Braun
ok, good to know. that's what I had in mind. On 19 Sep 2014, at 12:27, Benedict Elliott Smith wrote: > However in config (e.g. DatabaseDescriptor) it's just because we haven't > considered it worth our time to do anything more involved. Feel free to > file a ticket and post a patch.

Re: Use of System.exit() calls

2014-09-19 Thread Benedict Elliott Smith
There are some places we are unlikely to drop using System.exit(), such as when we detect a dangerous application state (e.g. OOM) However in config (e.g. DatabaseDescriptor) it's just because we haven't considered it worth our time to do anything more involved. Feel free to file a ticket and post

Re: Use of System.exit() calls

2014-09-19 Thread Kasper Nielsen
Yeah it is rather annoying. I install a "fake" security manager to get around this. https://github.com/dma-ais/AisStore/blob/master/ais-store-raw/src/main/java/dk/dma/ais/store/old/exporter/CassandraNodeTool.java Cheers Kasper On Fri, Sep 19, 2014 at 10:39 AM, Heiko Braun wrote: > > Hi ever