[
https://issues.apache.org/jira/browse/HBASE-9462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762083#comment-13762083
]
Ted Yu commented on HBASE-9462:
-------------------------------
>From TestAdmin:
{code}
* @throws IOException if a remote or network exception occurs
*/
public boolean isTableEnabled(TableName tableName) throws IOException {
{code}
I think return of false is better.
> HBaseAdmin#isTableEnabled() should return false for non-existent table
> ----------------------------------------------------------------------
>
> Key: HBASE-9462
> URL: https://issues.apache.org/jira/browse/HBASE-9462
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.95.2
> Reporter: Ted Yu
> Assignee: Ted Yu
> Fix For: 0.96.0
>
> Attachments: 9462.patch
>
>
> HBaseAdmin#isTableEnabled() returns true for a table which doesn't exist.
> We should check table existence.
--
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