Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 37762 invoked from network); 13 Aug 2010 15:50:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Aug 2010 15:50:41 -0000 Received: (qmail 28287 invoked by uid 500); 13 Aug 2010 15:50:41 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 28252 invoked by uid 500); 13 Aug 2010 15:50:40 -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 28244 invoked by uid 99); 13 Aug 2010 15:50:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Aug 2010 15:50:40 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Aug 2010 15:50:38 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7DFoHM6013276 for ; Fri, 13 Aug 2010 15:50:17 GMT Message-ID: <9300702.333141281714617376.JavaMail.jira@thor> Date: Fri, 13 Aug 2010 11:50:17 -0400 (EDT) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Subject: [jira] Assigned: (HBASE-2907) [rest/stargate] Improve error response when trying to create a scanner on a nonexistant table In-Reply-To: <14323452.266441281492917955.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell reassigned HBASE-2907: ------------------------------------- Assignee: Andrew Purtell > [rest/stargate] Improve error response when trying to create a scanner on a nonexistant table > --------------------------------------------------------------------------------------------- > > Key: HBASE-2907 > URL: https://issues.apache.org/jira/browse/HBASE-2907 > Project: HBase > Issue Type: Improvement > Components: rest > Reporter: Kieron Briggs > Assignee: Andrew Purtell > Priority: Minor > > Since 0.20.4, an attempt to create a scanner for a nonexistant table receives a "400 Bad Request" response with no furthur information. Prior to 0.20.4 it would receive a "500 org.apache.hadoop.hbase.TableNotFoundException: " response with a stack trace in the body. > Neither of these is ideal - the 400 fails to identify what aspect of the request was bad, and the 500 incorrectly suggests that the error was internal. Ideally the error should be a 400 error with information in the body identifying the nature of the problem. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.