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 5AE2110DE8 for ; Sat, 14 Sep 2013 00:29:52 +0000 (UTC) Received: (qmail 51643 invoked by uid 500); 14 Sep 2013 00:29:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 51613 invoked by uid 500); 14 Sep 2013 00:29:52 -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 51604 invoked by uid 99); 14 Sep 2013 00:29:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Sep 2013 00:29:52 +0000 Date: Sat, 14 Sep 2013 00:29:52 +0000 (UTC) From: "Nick Dimiduk (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9364) Get request with multiple columns returns partial results 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-9364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767236#comment-13767236 ] Nick Dimiduk commented on HBASE-9364: ------------------------------------- Demonstrated above, 0.94/HEAD correctly handles displaying a null qualifier value with an unbounded scan. Over to trunk, it appears we have consistent behavior: {noformat} hbase(main):006:0> scan 'foo' ROW COLUMN+CELL r1 column=f1:, timestamp=1379113061705, value=empty! r1 column=f1:bar, timestamp=1379113067612, value=baz 1 row(s) in 0.0310 seconds {noformat} The scan comment doesn't accept a String for its second argument. {noformat} hbase(main):007:0> scan 'foo', 'f1' ROW COLUMN+CELL ERROR: Arguments should be a hash. Failed to parse "f1", String ... {noformat} ColumnPrefixFilter appears to work as expected. {noformat} hbase(main):022:0> scan 'foo', {FILTER => "(ColumnPrefixFilter (''))"} ROW COLUMN+CELL r1 column=f1:, timestamp=1379113061705, value=empty! r1 column=f1:bar, timestamp=1379113067612, value=baz 1 row(s) in 0.0170 seconds {noformat} A simple get is kind of surprising though: {noformat} hbase(main):024:0> get 'foo', 'r1', 'f1' COLUMN CELL f1: timestamp=1379113061705, value=empty! f1:bar timestamp=1379113067612, value=baz 2 row(s) in 0.0090 seconds hbase(main):025:0> get 'foo', 'r1', 'f1:' COLUMN CELL f1: timestamp=1379113061705, value=empty! f1:bar timestamp=1379113067612, value=baz 2 row(s) in 0.0110 seconds {noformat} All that aside though, the point of this patch appears to be bringing the REST interface inline with the others. That is, providing any access at all to lonely {{foo/r1/f1:}}. > Get request with multiple columns returns partial results > --------------------------------------------------------- > > Key: HBASE-9364 > URL: https://issues.apache.org/jira/browse/HBASE-9364 > Project: HBase > Issue Type: Bug > Components: REST > Affects Versions: 0.94.11 > Reporter: Vandana Ayyalasomayajula > Assignee: Vandana Ayyalasomayajula > Priority: Minor > Fix For: 0.98.0, 0.96.0 > > Attachments: HBASE-9364.00.patch, HBASE-9364.01.patch, hbase-9364_trunk.00.patch, HBASE-9364_trunk.01.patch, HBASE-9364_trunk.02.patch, HBASE-9364_trunk.02.patch, HBASE-9364_trunk.03.patch, HBASE-9364_trunk.03.patch > > > When a GET request is issue for a table row with multiple columns and columns have empty qualifier like f1: , results for empty qualifiers is being ignored. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira