Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6C01D637 for ; Mon, 9 Jul 2012 10:42:11 +0000 (UTC) Received: (qmail 65806 invoked by uid 500); 9 Jul 2012 10:42:11 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 64818 invoked by uid 500); 9 Jul 2012 10:42:03 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 64711 invoked by uid 99); 9 Jul 2012 10:41:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 10:41:59 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=HTML_MESSAGE,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gopinathan.a@huawei.com designates 119.145.14.64 as permitted sender) Received: from [119.145.14.64] (HELO szxga01-in.huawei.com) (119.145.14.64) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 10:41:51 +0000 Received: from 172.24.2.119 (EHLO szxeml212-edg.china.huawei.com) ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.1.9-GA FastPath queued) with ESMTP id ALE21812; Mon, 09 Jul 2012 18:41:15 +0800 (CST) Received: from SZXEML421-HUB.china.huawei.com (10.82.67.160) by szxeml212-edg.china.huawei.com (172.24.2.181) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 9 Jul 2012 18:41:15 +0800 Received: from blrprnc08ns (10.18.96.97) by szxeml421-hub.china.huawei.com (10.82.67.160) with Microsoft SMTP Server id 14.1.323.3; Mon, 9 Jul 2012 18:41:10 +0800 From: Gopinathan A To: Subject: What is the best way to get the total row count? Date: Mon, 9 Jul 2012 16:11:10 +0530 Organization: Huawei Message-ID: <000601cd5dbf$5b163090$114291b0$@a@huawei.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01CD5DED.74CE6C90" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac1dv1peefkKgapdTS2CRk7zt1uo3Q== Content-Language: en-us X-Originating-IP: [10.18.96.97] X-CFilter-Loop: Reflected ------=_NextPart_000_0007_01CD5DED.74CE6C90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, What is the best way to get the total row count? I tried following things, a> Count 'tablename' in shell prompt: Helpful, only with very less number of records. b> Runing RowCounter Job: It took almost 8hr to get row count of 2TB data in 3node cluster (16 core system, 48GB RAM) c> Using AggregationClient: Disk IO is very high (System wait is 65-70%, Load factor is almost 110), this makes server to non responsive and makes the clients to go down (Due to RPCTimeOut Exceptions). Thanks & Regards, Gopinathan A **************************************************************************** *********** This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it! ------=_NextPart_000_0007_01CD5DED.74CE6C90--