You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Phabricator (JIRA)" <ji...@apache.org> on 2012/05/16 01:31:08 UTC

[jira] [Updated] (HBASE-6007) Make getTableRegions return an empty list if the table does not exist

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

Phabricator updated HBASE-6007:
-------------------------------

    Attachment: D3243.1.patch

mbautin requested code review of "[jira] [HBASE-6007] [89-fb] Make getTableRegions return an empty list if the table does not exist".
Reviewers: Kannan, Liyin, JIRA

  Making the getTableRegions Thrift API method handle TableNotFoundException and return an empty list in that case. Without this the behavior is dependent on whether an HTable object is present in the thread-local cache in case a table was deleted.

  I will add a JIRA number when JIRA is back.


TEST PLAN
  Unit tests

REVISION DETAIL
  https://reviews.facebook.net/D3243

AFFECTED FILES
  src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java

To: JIRA

                
> Make getTableRegions return an empty list if the table does not exist
> ---------------------------------------------------------------------
>
>                 Key: HBASE-6007
>                 URL: https://issues.apache.org/jira/browse/HBASE-6007
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Mikhail Bautin
>            Priority: Minor
>         Attachments: D3243.1.patch
>
>
> Making the getTableRegions Thrift API method handle TableNotFoundException and return an empty list in that case. Without this the behavior is dependent on whether an HTable object is present in the thread-local cache in case a table was deleted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira