Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DC4B0175CE for ; Thu, 25 Sep 2014 14:16:34 +0000 (UTC) Received: (qmail 80036 invoked by uid 500); 25 Sep 2014 14:16:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 79953 invoked by uid 500); 25 Sep 2014 14:16:34 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 79679 invoked by uid 99); 25 Sep 2014 14:16:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 14:16:34 +0000 Date: Thu, 25 Sep 2014 14:16:34 +0000 (UTC) From: "Heiko Braun (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7998) Remove the usage of System.exit() calls in core services MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Heiko Braun updated CASSANDRA-7998: ----------------------------------- Priority: Minor (was: Major) > Remove the usage of System.exit() calls in core services > -------------------------------------------------------- > > Key: CASSANDRA-7998 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7998 > Project: Cassandra > Issue Type: Sub-task > Components: Core > Reporter: Heiko Braun > Priority: Minor > > The use of System.exit() prevents using the CassandraDaemon as a managed service (managed from another Java process). The core services (StorageService,DatabaseDescriptor, SSTableReader) should propagate exceptions back to the callee so the decision to exit the VM (unmanaged case) or further delegate that decision (managed case) can be handled in a well defined place. -- This message was sent by Atlassian JIRA (v6.3.4#6332)