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 818C9E381 for ; Tue, 5 Mar 2013 07:53:46 +0000 (UTC) Received: (qmail 58140 invoked by uid 500); 5 Mar 2013 07:53:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58090 invoked by uid 500); 5 Mar 2013 07:53: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 58053 invoked by uid 99); 5 Mar 2013 07:53:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 07:53:45 +0000 Date: Tue, 5 Mar 2013 07:53:45 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-6132) ColumnCountGetFilter & PageFilter not working with FilterList 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-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593165#comment-13593165 ] Hudson commented on HBASE-6132: ------------------------------- Integrated in HBase-0.94-security-on-Hadoop-23 #12 (See [https://builds.apache.org/job/HBase-0.94-security-on-Hadoop-23/12/]) HBASE-6132 ColumnCountGetFilter & PageFilter not working with FilterList (Anoop) (Revision 1444972) Result = FAILURE tedyu : Files : * /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java * /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/filter/TestColumnCountGetFilter.java * /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java > ColumnCountGetFilter & PageFilter not working with FilterList > ------------------------------------------------------------- > > Key: HBASE-6132 > URL: https://issues.apache.org/jira/browse/HBASE-6132 > Project: HBase > Issue Type: Bug > Components: Filters > Affects Versions: 0.95.0, 0.94.6 > Environment: Cent OS 5.5 distributed hbase cluster. Hadoop 1.0.0, zookeeper 3.4.3 > Reporter: Benjamin Kim > Assignee: Anoop Sam John > Fix For: 0.95.0, 0.94.6 > > Attachments: 6132-trunk-v2.txt, HBASE-6132_94.patch, HBASE-6132_Trunk.patch, TestColumnCountGetFilter.java > > > Thanks to Anoop and Ramkrishna, here's what we found with FilterList > If I use FilterList to include ColumnCountGetFilter among other filters, the returning Result has no keyvalues. > This problem seems to occur when specified column count is less then actual number of existing columns. > Also same problem arises with PageFilter > Following is the code of the problem: > {code} > Configuration conf = HBaseConfiguration.create(); > HTable table = new HTable(conf, "test"); > Get get = new Get(Bytes.toBytes("test00001")); > FilterList filterList = new FilterList(); > filterList.addFilter(new ColumnCountGetFilter(100)); > get.setFilter(filterList); > Result r = table.get(get); > System.out.println(r.size()); // prints zero > {code} -- 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