Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE7C010AEB for ; Wed, 13 Nov 2013 14:27:40 +0000 (UTC) Received: (qmail 43312 invoked by uid 500); 13 Nov 2013 14:27:35 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 42490 invoked by uid 500); 13 Nov 2013 14:27:27 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 42408 invoked by uid 99); 13 Nov 2013 14:27:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Nov 2013 14:27:25 +0000 Date: Wed, 13 Nov 2013 14:27:25 +0000 (UTC) From: "Jason Vas Dias (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-9964) start-hbase.sh returns success exit status and emits "starting master" message when master failed to start MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jason Vas Dias created HBASE-9964: ------------------------------------- Summary: start-hbase.sh returns success exit status and emits "starting master" message when master failed to start Key: HBASE-9964 URL: https://issues.apache.org/jira/browse/HBASE-9964 Project: HBase Issue Type: Bug Affects Versions: 0.94.13 Environment: Linux x86_64 (Centos 6.4) Reporter: Jason Vas Dias The bin/start-hbase.sh script returns an exit status indicating success, and emits the message : 'starting master, logging to ...' , even though the master failed to start: $ ./bin/start-hbase.sh starting master, logging to /home/jason/3P/hbase-0.94.13/logs/hbase-jason-master-jvds.out $ echo $? 0 # ^- this indicates successful exit status on Linux / UNIX-like systems $ egrep 'start master|RuntimeException' logs/hbase-jason-master-jvds.log 2013-11-13 14:15:28,309 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master java.lang.RuntimeException: Failed suppression of fs shutdown hook: Thread[Thread-27,5,main] The start-base.sh script should IMHO in the above scenario emit a message like 'Failed to start the hbase master: java.lang.RuntimeException: Failed suppression of fs shutdown hook' and return a non-zero exit status. -- This message was sent by Atlassian JIRA (v6.1#6144)