Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 55140 invoked from network); 14 Oct 2009 18:06:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Oct 2009 18:06:23 -0000 Received: (qmail 93177 invoked by uid 500); 14 Oct 2009 18:06:22 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 93155 invoked by uid 500); 14 Oct 2009 18:06:22 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 93145 invoked by uid 99); 14 Oct 2009 18:06:22 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 18:06:22 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ananth.t.sarathy@gmail.com designates 209.85.221.201 as permitted sender) Received: from [209.85.221.201] (HELO mail-qy0-f201.google.com) (209.85.221.201) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 18:05:58 +0000 Received: by qyk39 with SMTP id 39so26704qyk.31 for ; Wed, 14 Oct 2009 11:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=6xWNZC3AyOfdxeeNmDdtxKuZ9iDUd1LMy0fFBuuGcok=; b=BvQdpM8ipmqMw0VSJiS9G+9VDO/Qc5Vjq4sujp2anfhtCuM4rkSHjDjJ2419qcpjn6 5G9ZU+C2R3CHULHXa2Ac+VBp5NkG8eVkt193u9z575YXAlsnKd9uD87uZ0LEMsy9gjIT Nbl6tdWSJCT61jN+rm3Wiy5VgUuuPZChG8L+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NlBk22/L0dWxiKkYJY3s8eY62KgKlUkEwY87gBdYk201/8YqwlBYssMTMonEBr+RP6 BG5MduDV/UHweRD+SftmloVNZkkCu5U7CuFJiv56uCV32IV4pjZX895zUYTM7kUOJXpa eGagMGnUYiGs+GJtwG+4PDl/erCuO0/krqi30= MIME-Version: 1.0 Received: by 10.239.141.155 with SMTP id c27mr612465hba.48.1255543536330; Wed, 14 Oct 2009 11:05:36 -0700 (PDT) In-Reply-To: <7c962aed0910141058l4c1ecfbqc4ece6bc20174483@mail.gmail.com> References: <7c962aed0910141058l4c1ecfbqc4ece6bc20174483@mail.gmail.com> Date: Wed, 14 Oct 2009 14:05:36 -0400 Message-ID: Subject: Re: Count in shell taking hours From: "Ananth T. Sarathy" To: hbase-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001485f6c76a7ba70f0475e902eb X-Virus-Checked: Checked by ClamAV on apache.org --001485f6c76a7ba70f0475e902eb Content-Type: text/plain; charset=ISO-8859-1 weird thing . I opened the shell in anotehr terminal and did a count with 10. My original window is still running is up to 7000. When I did the new count it flew to 7870 and started to be slow.... here is output from client 09/10/14 12:25:26 DEBUG client.HConnectionManager$ClientZKWatcher: Got ZooKeeper event, state: SyncConnected, type: None, path: null 09/10/14 12:25:26 DEBUG zookeeper.ZooKeeperWrapper: Read ZNode /hbase/root-region-server got 10.244.9.171:58311 09/10/14 12:25:26 DEBUG client.HConnectionManager$TableServers: Found ROOT at 10.244.9.171:58311 09/10/14 12:25:26 DEBUG client.HConnectionManager$TableServers: Cached location address: 10.244.9.171:58311, regioninfo: REGION => {NAME => '.META.,,1', STARTKEY => '', ENDKEY => '', ENCODED => 1028785192, TABLE => {{NAME => '.META.', IS_META => 'true', MEMSTORE_FLUSHSIZE => '16384', FAMILIES => [{NAME => 'historian', VERSIONS => '2147483647', COMPRESSION => 'NONE', TTL => '604800', BLOCKSIZE => '8192', IN_MEMORY => 'false', BLOCKCACHE => 'false'}, {NAME => 'info', VERSIONS => '10', COMPRESSION => 'NONE', TTL => '2147483647', BLOCKSIZE => '8192', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}} 09/10/14 12:25:27 DEBUG client.HConnectionManager$TableServers: Cached location address: 10.244.9.171:58311, regioninfo: REGION => {NAME => 'GS_Applications,,1255020109210', STARTKEY => '', ENDKEY => '', ENCODED => 1732076772, TABLE => {{NAME => 'GS_Applications', FAMILIES => [{NAME => 'Application', COMPRESSION => 'NONE', VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 'BinaryData', COMPRESSION => 'NONE', VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 'BinaryRetrieval', COMPRESSION => 'NONE', VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 'Files', COMPRESSION => 'NONE', VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}, {NAME => 'Info', COMPRESSION => 'NONE', VERSIONS => '1', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}]}} 09/10/14 12:25:27 DEBUG zookeeper.ZooKeeperWrapper: Read ZNode /hbase/root-region-server got 10.244.9.171:58311 09/10/14 12:25:27 DEBUG client.HConnectionManager$TableServers: Found ROOT at 10.244.9.171:58311 09/10/14 12:25:27 DEBUG client.HConnectionManager$TableServers: Cached location address: 10.244.9.171:58311, regioninfo: REGION => {NAME => '.META.,,1', STARTKEY => '', ENDKEY => '', ENCODED => 1028785192, TABLE => {{NAME => '.META.', IS_META => 'true', MEMSTORE_FLUSHSIZE => '16384', FAMILIES => [{NAME => 'historian', VERSIONS => '2147483647', COMPRESSION => 'NONE', TTL => '604800', BLOCKSIZE => '8192', IN_MEMORY => 'false', BLOCKCACHE => 'false'}, {NAME => 'info', VERSIONS => '10', COMPRESSION => 'NONE', TTL => '2147483647', BLOCKSIZE => '8192', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}} 09/10/14 12:25:27 DEBUG client.HTable$ClientScanner: Creating scanner over GS_Applications starting at key '' 09/10/14 12:25:27 DEBUG client.HTable$ClientScanner: Advancing internal scanner to startKey at '' 09/10/14 12:25:27 DEBUG client.HConnectionManager$TableServers: Cache hit for row <> in tableName GS_Applications: location server 10.244.9.171:58311, location region name GS_Applications,,1255020109210 then it starts counting.... Ananth T Sarathy On Wed, Oct 14, 2009 at 1:58 PM, stack wrote: > Sounds sick. Enable DEBUG on cluster and on client. With the latter you > can > see as client loads regions. You can pass count an argument so it uses > increments of less than 1000. Try 10. My guess is that its making no > progress. > St.Ack > > On Wed, Oct 14, 2009 at 10:52 AM, Ananth T. Sarathy < > ananth.t.sarathy@gmail.com> wrote: > > > The count table in the shell is taking 1.5 hours to count 3000 rows so > far. > > It never had this problem before. Any ideas on what it's doing or how we > > can > > fix? > > Ananth T Sarathy > > > --001485f6c76a7ba70f0475e902eb--