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 ECF15C95F for ; Sat, 19 May 2012 00:50:30 +0000 (UTC) Received: (qmail 23274 invoked by uid 500); 19 May 2012 00:50:30 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 23075 invoked by uid 500); 19 May 2012 00:50:30 -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 23063 invoked by uid 99); 19 May 2012 00:50:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 May 2012 00:50:30 +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; Sat, 19 May 2012 00:50:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 584AFC1A3 for ; Sat, 19 May 2012 00:50:07 +0000 (UTC) Date: Sat, 19 May 2012 00:50:07 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <690781373.17548.1337388607363.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=13279374#comment-13279374 ] Hudson commented on HBASE-6007: ------------------------------- Integrated in HBase-TRUNK #2904 (See [https://builds.apache.org/job/HBase-TRUNK/2904/]) [jira] [HBASE-6007] Make getTableRegions return an empty list if the table does not exist Summary: 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. Test Plan: Unit tests Reviewers: kannan, liyintang Reviewed By: liyintang CC: stack Differential Revision: https://reviews.facebook.net/D3243 (Revision 1340310) Result = FAILURE mbautin : Files : * /hbase/trunk/src/main/java/org/apache/hadoop/hbase/thrift/ThriftServerRunner.java > 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 > Assignee: Mikhail Bautin > Priority: Minor > Attachments: D3243.1.patch, jira-HBASE-6007-Make-getTableRegions-return-an-empty-2012-05-18_17_02_40.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