Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B5D7E700 for ; Tue, 25 Jun 2013 00:14:20 +0000 (UTC) Received: (qmail 36175 invoked by uid 500); 25 Jun 2013 00:14:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 36140 invoked by uid 500); 25 Jun 2013 00:14:20 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 36131 invoked by uid 99); 25 Jun 2013 00:14:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 00:14:19 +0000 Date: Tue, 25 Jun 2013 00:14:19 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-8800) Return non-zero exit codes when a region server aborts 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/HBASE-8800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans updated HBASE-8800: -------------------------------------- Attachment: HBASE-8800.patch Adding the same sort of mechanism that is used in HMasterCommandLine to get the state of the RS. If it aborts, we return 1. I also changed all the -1 to 1. Let's see if I break any unit test... > Return non-zero exit codes when a region server aborts > ------------------------------------------------------ > > Key: HBASE-8800 > URL: https://issues.apache.org/jira/browse/HBASE-8800 > Project: HBase > Issue Type: Improvement > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.95.2 > > Attachments: HBASE-8800.patch > > > There's a few exit code-related jiras flying around, but it seems that at least for the region server we have a bigger problem: it always returns 0 when exiting once it's started. > I also saw that we have a couple -1 as exit codes, AFAIK this should be 1 (or at least a positive number). -- 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