Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 65940 invoked from network); 13 Apr 2011 18:08:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 18:08:46 -0000 Received: (qmail 102 invoked by uid 500); 13 Apr 2011 18:08:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 99973 invoked by uid 500); 13 Apr 2011 18:08:46 -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 99965 invoked by uid 99); 13 Apr 2011 18:08:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 18:08:46 +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; Wed, 13 Apr 2011 18:08:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F163AA0D6B for ; Wed, 13 Apr 2011 18:08:05 +0000 (UTC) Date: Wed, 13 Apr 2011 18:08:05 +0000 (UTC) From: "Jerry Chen (JIRA)" To: issues@hbase.apache.org Message-ID: <890239410.55691.1302718085985.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <8870731.4272.1300817885808.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-3685) when multiple columns are combined with TimestampFilter, only one column is returned 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-3685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019468#comment-13019468 ] Jerry Chen commented on HBASE-3685: ----------------------------------- @stack, can you take a look at this? Kannan and Jonathan have reviewed it internally. > when multiple columns are combined with TimestampFilter, only one column is returned > ------------------------------------------------------------------------------------ > > Key: HBASE-3685 > URL: https://issues.apache.org/jira/browse/HBASE-3685 > Project: HBase > Issue Type: Bug > Components: filters, regionserver > Reporter: Jerry Chen > Priority: Minor > Labels: noob > Attachments: 3685-missing-column.patch > > > As reported by an Hbase user: > "I have a ThreadMetadata column family, and there are two columns in it: v12:th: and v12:me. The following code only returns v12:me > get.addColumn(Bytes.toBytes("ThreadMetadata"), Bytes.toBytes("v12:th:"); > get.addColumn(Bytes.toBytes("ThreadMetadata"), Bytes.toBytes("v12:me:"); > List threadIds = new ArrayList(); > threadIds.add(10709L); > TimestampFilter filter = new TimestampFilter(threadIds); > get.setFilter(filter); > get.setMaxVersions(); > Result result = table.get(get); > I checked hbase for the key/value, they are present. Also other combinations like no timestampfilter, it returns both." > Kannan was able to do a small repro of the issue and commented that if we drop the get.setMaxVersions(), then the problem goes away. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira