You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Oleg Zhurakousky (JIRA)" <ji...@apache.org> on 2012/11/20 16:34:59 UTC

[jira] [Commented] (HBASE-7196) 'hbase shell status' throws exception when HBase is not running

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

Oleg Zhurakousky commented on HBASE-7196:
-----------------------------------------

Also
{code}
HBaseAdmin.isMasterRunning()
{code}
is throwing an exception if Master is not running. By definition boolean methods should never throw an exception, don't you agree?
                
> 'hbase shell status' throws exception when HBase is not running
> ---------------------------------------------------------------
>
>                 Key: HBASE-7196
>                 URL: https://issues.apache.org/jira/browse/HBASE-7196
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.1
>            Reporter: Oleg Zhurakousky
>
> Its kind of a nuisance bug. One would assume that 'status' command should simply  return something along the lines of "HBase is not running"

--
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