Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B6E429FEB for ; Fri, 18 May 2012 20:11:35 +0000 (UTC) Received: (qmail 43556 invoked by uid 500); 18 May 2012 20:11:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 43488 invoked by uid 500); 18 May 2012 20:11:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 43383 invoked by uid 99); 18 May 2012 20:11:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 20:11:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 20:11:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3DBBBDE73 for ; Fri, 18 May 2012 20:11:12 +0000 (UTC) Date: Fri, 18 May 2012 20:11:12 +0000 (UTC) From: "Phabricator (JIRA)" To: issues@hbase.apache.org Message-ID: <1263670747.16013.1337371872254.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <883183258.1905.1337124668705.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-6007) Make getTableRegions return an empty list if the table does not exist MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279138#comment-13279138 ] Phabricator commented on HBASE-6007: ------------------------------------ stack has commented on the revision "[jira] [HBASE-6007] [89-fb] Make getTableRegions return an empty list if the table does not exist". +1 REVISION DETAIL https://reviews.facebook.net/D3243 To: Kannan, Liyin, JIRA, mbautin Cc: stack > 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