hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-3612) HBaseAdmin::isTableAvailable( name ) returns true when the table does not exist
Date Thu, 10 Mar 2011 23:19:59 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Purtell updated HBASE-3612:
----------------------------------

    Attachment: HBASE-3612.patch

Count regions while visiting. Catch the case where a table does not exist (0 regions). This
is pretty cheap, a trivial change, and maybe the region count can be useful here someday.

> HBaseAdmin::isTableAvailable( name ) returns true when the table does not exist
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-3612
>                 URL: https://issues.apache.org/jira/browse/HBASE-3612
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.90.1
>            Reporter: Jeremy Hinegardner
>            Assignee: Andrew Purtell
>         Attachments: HBASE-3612.patch
>
>
> HBaseAdmin::isTableAvailable( name )  returns true for a table in which HBaseAdmin::tableExists(
name ) returns false.
> It appears from the code that the default return value from isTableAvailable() is true
and false is only returned in the case where the table is found and not all the region servers
are online.

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

Mime
View raw message