Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 46573 invoked from network); 23 Apr 2008 22:56:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 22:56:49 -0000 Received: (qmail 72833 invoked by uid 500); 23 Apr 2008 22:56:51 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 72628 invoked by uid 500); 23 Apr 2008 22:56:50 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 72604 invoked by uid 99); 23 Apr 2008 22:56:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 15:56:50 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 22:56:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BC7D1234C100 for ; Wed, 23 Apr 2008 15:53:21 -0700 (PDT) Message-ID: <280846903.1208991201771.JavaMail.jira@brutus> Date: Wed, 23 Apr 2008 15:53:21 -0700 (PDT) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Resolved: (HBASE-32) [hbase] Add row count estimator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-32. ------------------------ Resolution: Fixed Fix Version/s: 0.2.0 This was committed to branch and trunk > [hbase] Add row count estimator > ------------------------------- > > Key: HBASE-32 > URL: https://issues.apache.org/jira/browse/HBASE-32 > Project: Hadoop HBase > Issue Type: New Feature > Components: client > Reporter: stack > Priority: Minor > Fix For: 0.2.0 > > Attachments: 2291_v01.patch, Keying.java > > > Internally we have a little tool that will do a rough estimate of how many rows there are in a dataHbase. It keeps getting larger and larger partitions running scanners until it turns up > N occupied rows. Once it has a number > N, it multiples by the partition size to get an approximate row count. > This issue is about generalizing this feature so it could sit in the general hbase install. It would look something like: > {code} > long getApproximateRowCount(final Text startRow, final Text endRow, final long minimumCountPerPartition, final long maximumPartitionSize) > {code} > Larger minimumCountPerPartition and maximumPartitionSize values would make the count more accurate but would mean the method ran longer. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.