Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 66980 invoked from network); 31 Mar 2009 10:12:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Mar 2009 10:12:15 -0000 Received: (qmail 46352 invoked by uid 500); 31 Mar 2009 10:12:15 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 46329 invoked by uid 500); 31 Mar 2009 10:12:15 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 46305 invoked by uid 99); 31 Mar 2009 10:12:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 10:12:15 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Mar 2009 10:12:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 37C09234C041 for ; Tue, 31 Mar 2009 03:11:52 -0700 (PDT) Message-ID: <966040022.1238494312223.JavaMail.jira@brutus> Date: Tue, 31 Mar 2009 03:11:52 -0700 (PDT) From: "Rong-En Fan (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Created: (HBASE-1301) HTable.getRow() returns null if the row does no exist 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 HTable.getRow() returns null if the row does no exist ----------------------------------------------------- Key: HBASE-1301 URL: https://issues.apache.org/jira/browse/HBASE-1301 Project: Hadoop HBase Issue Type: Bug Components: client Affects Versions: 0.19.1 Reporter: Rong-En Fan Priority: Minor The HBase API docs says when the row does not exist, getRow() returns RowResult is empty if row does not exist. However, in regionserver/HRegionServer.java's getRow(): if (result == null || result.isEmpty()) return null; return new RowResult(row, result); It actually returns null. Either fix the code or the document. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.