[ 
https://issues.apache.org/jira/browse/HBASE-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062091#comment-13062091
 ] 

Akash Ashok commented on HBASE-4008:
------------------------------------

I think the main issue is in HMaster.run() method which on throwing an 
exception aborts all the HMaster threads and neatly executes finally block and 
exits which in turn would result in HMasterCommandLine thinking that HMaster 
has started because it hasn't thrown an exception and returns 0. I think we 
have to throw any exception within HMaster.run() and let it rise thru the stack 
and let HMasterCommandLine also handle it. 

> Problem while stopping HBase
> ----------------------------
>
>                 Key: HBASE-4008
>                 URL: https://issues.apache.org/jira/browse/HBASE-4008
>             Project: HBase
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Akash Ashok
>            Assignee: Akash Ashok
>
> stop-hbase.sh stops the server successfully if and only if the server is 
> instantiated properly. 
> When u Run 
> start-hbase.sh; sleep 10; stop-hbase.sh; ( This works totally fine and has no 
> issues )
> Whereas when u run 
> start-hbase.sh; stop-hbase.sh; ( This never stops the server and neither the 
> server gets initialized and starts properly )

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to