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 997E110E81 for ; Fri, 20 Dec 2013 02:25:09 +0000 (UTC) Received: (qmail 94397 invoked by uid 500); 20 Dec 2013 02:25:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 94349 invoked by uid 500); 20 Dec 2013 02:25:09 -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 94295 invoked by uid 99); 20 Dec 2013 02:25:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Dec 2013 02:25:09 +0000 Date: Fri, 20 Dec 2013 02:25:09 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9524) Multi row get does not return any results even if any one of the rows specified in the query is missing and improve exception handling 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-9524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13853599#comment-13853599 ] Hudson commented on HBASE-9524: ------------------------------- SUCCESS: Integrated in HBase-TRUNK-on-Hadoop-1.1 #13 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-1.1/13/]) HBASE-9524 Multi row get does not return any results even if any one of the rows specified in the query is missing and improve exception handling (Vandana Ayyalasomayajula) (ndimiduk: rev 1552368) * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/MultiRowResource.java * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/ResourceBase.java * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RootResource.java * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/rest/SchemaResource.java * /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/RowResourceBase.java * /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestDeleteRow.java * /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestGetAndPutResource.java * /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestMultiRowResource.java * /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/TestRowResource.java * /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/rest/client/TestRemoteTable.java > Multi row get does not return any results even if any one of the rows specified in the query is missing and improve exception handling > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-9524 > URL: https://issues.apache.org/jira/browse/HBASE-9524 > Project: HBase > Issue Type: Improvement > Components: REST > Reporter: Vandana Ayyalasomayajula > Assignee: Vandana Ayyalasomayajula > Priority: Minor > Fix For: 0.98.0, 0.96.2, 0.99.0 > > Attachments: HBASE-9524_trunk.01.patch, hbase-9524_trunk.00.patch > > > When a client tries to retrieve multiple rows using REST API, even if one of the specified rows does not exist, 404 is returned. The correct way should be to return the result for the found rows and ignore the non-existent ones. Also, in the current code base, only some exceptions are handled, if some exception like Access denied or no column found exception is throws by the APIs, 500 ( server not found) is returned to user. This is leaves the end user wondering what caused the rest command to fail. -- This message was sent by Atlassian JIRA (v6.1.4#6159)