Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 84851 invoked from network); 4 Feb 2011 22:59:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2011 22:59:52 -0000 Received: (qmail 20758 invoked by uid 500); 4 Feb 2011 22:59:52 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 20704 invoked by uid 500); 4 Feb 2011 22:59:51 -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 20696 invoked by uid 99); 4 Feb 2011 22:59:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Feb 2011 22:59:51 +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; Fri, 04 Feb 2011 22:59:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A9668190E9E for ; Fri, 4 Feb 2011 22:59:30 +0000 (UTC) Date: Fri, 4 Feb 2011 22:59:30 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <2035376292.858.1296860370690.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (HBASE-2824) Add a filter that randomly included rows based on a configured chance. 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-2824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990810#comment-12990810 ] Hudson commented on HBASE-2824: ------------------------------- Integrated in HBase-TRUNK #1732 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1732/]) HBASE-2824 A filter that randomly includes rows based on a configured chance; Clarify test HBASE-2824 A filter that randomly includes rows based on a configured chance > Add a filter that randomly included rows based on a configured chance. > ---------------------------------------------------------------------- > > Key: HBASE-2824 > URL: https://issues.apache.org/jira/browse/HBASE-2824 > Project: HBase > Issue Type: New Feature > Components: filters > Reporter: Ferdy > Assignee: Ferdy > Priority: Minor > Fix For: 0.92.0 > > Attachments: HBASE-2824-v1.patch, HBASE-2824-v2.patch > > > We needed a filter that allows us to randomly include rows. I will attach a patch with a simple Filter that is able to do this. > For example, if you wish to do a scan but only want 1/4 of all values (randomly distributed), you can use: new RandomRowFilter(0.25f) > I just wanted to share this Filter with you. It's up to you if you want to include it in the codebase. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira