[ https://issues.apache.org/jira/browse/HBASE-9964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843197#comment-16843197 ]
Biju Nair commented on HBASE-9964: ---------------------------------- Hi [~ashish singhi], looks like this issue is still relevant. > 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)