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

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

[~yuzhih...@gmail.com]
That is different. Delete may or may not succeed, while during the deletion the 
IOException may be thrown.
In the above case we have a method that by its name and thus definition suppose 
to return 'true' if Master is running and 'false' if Master is not running. And 
it doesn't do that. And as described above it its meaningless since it can 
never be called unless Master is running which is the prerequisite for creating 
HBaseAdmin instance. But once the instance is created its already implied that 
Master is running. 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

Reply via email to