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 8642C9125 for ; Thu, 4 Oct 2012 21:51:47 +0000 (UTC) Received: (qmail 19421 invoked by uid 500); 4 Oct 2012 21:51:47 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 19382 invoked by uid 500); 4 Oct 2012 21:51:47 -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 19373 invoked by uid 99); 4 Oct 2012 21:51:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 21:51:47 +0000 Date: Fri, 5 Oct 2012 08:51:47 +1100 (NCT) From: "Andrew Olson (JIRA)" To: issues@hbase.apache.org Message-ID: <525163217.2503.1349387507321.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (HBASE-6954) Column-counting filters can accept multiple versions of a column MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Andrew Olson created HBASE-6954: ----------------------------------- Summary: Column-counting filters can accept multiple versions of a column Key: HBASE-6954 URL: https://issues.apache.org/jira/browse/HBASE-6954 Project: HBase Issue Type: Bug Components: Filters Reporter: Andrew Olson It looks like the max version limit for a table or scanner is not applied to disregard older versions, prior to counting columns within a ColumnPaginationFilter or ColumnCountGetFilter. As a result, a Scan or Get can ultimately retrieve fewer than the requested number of columns when there is a sufficient number of existing columns to satisfy the request, if multiple versions of a column have been added to a row. A minimal test case demonstrating this behavior is attached. The javadoc for Get mentions 'Only Filter.filterKeyValue(KeyValue) is called AFTER all tests for ttl, column match, deletes and max versions have been run.'; for these two filters this behavior does not appear to be true, as flattening of multiple versions appears to occur after the filter has been applied. -- 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