You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Biju Nair (JIRA)" <ji...@apache.org> on 2019/05/18 16:13:00 UTC

[jira] [Assigned] (HBASE-9964) start-hbase.sh returns success exit status and emits "starting master" message when master failed to start

     [ https://issues.apache.org/jira/browse/HBASE-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Biju Nair reassigned HBASE-9964:
--------------------------------

    Assignee: Ashish Singhi

> 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
>            Assignee: Ashish Singhi
>            Priority: Major
>         Attachments: HBASE-9964.patch
>
>
> 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
(v7.6.3#76005)