Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 4912 invoked from network); 16 Jan 2008 01:13:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jan 2008 01:13:58 -0000 Received: (qmail 70113 invoked by uid 500); 16 Jan 2008 01:13:47 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 70055 invoked by uid 500); 16 Jan 2008 01:13:47 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 69920 invoked by uid 99); 16 Jan 2008 01:13:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 17:13:46 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jan 2008 01:13:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E135714267 for ; Tue, 15 Jan 2008 17:13:34 -0800 (PST) Message-ID: <473200.1200446014420.JavaMail.jira@brutus> Date: Tue, 15 Jan 2008 17:13:34 -0800 (PST) From: "Edward Yoon (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-2291) [hbase] Add row count estimator In-Reply-To: <26877560.1196188963294.JavaMail.jira@brutus> 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/HADOOP-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559323#action_12559323 ] Edward Yoon commented on HADOOP-2291: ------------------------------------- Sorry for a delay. It seems difficult to me. I need some help. > [hbase] Add row count estimator > ------------------------------- > > Key: HADOOP-2291 > URL: https://issues.apache.org/jira/browse/HADOOP-2291 > Project: Hadoop > Issue Type: New Feature > Components: contrib/hbase > Reporter: stack > Assignee: Edward Yoon > Priority: Minor > 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.