Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E05B310EE0 for ; Wed, 11 Sep 2013 18:45:16 +0000 (UTC) Received: (qmail 12271 invoked by uid 500); 11 Sep 2013 18:45:14 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 12196 invoked by uid 500); 11 Sep 2013 18:45:13 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 12084 invoked by uid 99); 11 Sep 2013 18:44:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Sep 2013 18:44:51 +0000 Date: Wed, 11 Sep 2013 18:44:51 +0000 (UTC) From: "Steve Loughran (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ACCUMULO-1709) failing Master doesn't set exit code of process 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/ACCUMULO-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated ACCUMULO-1709: ------------------------------------- Attachment: ACCUMULO-1709-001.patch Patch that # has master call system.exit on an exception # makes sure all failure paths through {{start.main()}} exit # changed exception reporting in {{start.main()}} to invoke {{Throwable.toString()}} rather than {{Throwable.getMessage()}}. Some exceptions including {{NullPointerException}} have a null message -calling {{toString()}} is the only way to reliably get details on all exceptions > failing Master doesn't set exit code of process > ----------------------------------------------- > > Key: ACCUMULO-1709 > URL: https://issues.apache.org/jira/browse/ACCUMULO-1709 > Project: Accumulo > Issue Type: Bug > Affects Versions: 1.6.0 > Reporter: Steve Loughran > Attachments: ACCUMULO-1709-001.patch > > > If the master can't start up due to an exception, it logs it, but doesn't exit the process with any error code -so the failure isn't picked up by any scripts looking at the exit code of bin/accumulo -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira