Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 46314 invoked from network); 12 Apr 2011 04:42:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Apr 2011 04:42:39 -0000 Received: (qmail 51493 invoked by uid 500); 12 Apr 2011 04:42:38 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 51454 invoked by uid 500); 12 Apr 2011 04:42:38 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 51446 invoked by uid 99); 12 Apr 2011 04:42:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 04:42:37 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cjjvictory@gmail.com designates 209.85.160.41 as permitted sender) Received: from [209.85.160.41] (HELO mail-pw0-f41.google.com) (209.85.160.41) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 04:42:28 +0000 Received: by pwi10 with SMTP id 10so3301314pwi.14 for ; Mon, 11 Apr 2011 21:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Z2KETxTI6AvICTglSZmTg5Y0OG4Rw03eR5LvD5A+8YE=; b=lj9QO9KBPsYu//ck/YvWJTa85SSiT7iUYjD+9/cGQ00kjbyRCDhiUgr+X1YadZkDJt RfAvWrNnfJQPZSGa0UYsEu+1f7AcCDGvsL+CZyBd6eGBRYl9L6vCuTTe4qzREq4Kg4HQ jYXb2J3KZ/eZXoYCNbzuR2Oj4DuXCjSJAfJrI= 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 :cc:content-type; b=Jl9X6/FZj4jqpnm9OaDNhZlGFacd57t1EtLTp3DTaaHRi2W9CKYatquevMHuchgseO 4pA+swx+K8/Kz7FSNP3UDWN25syFlpsxkH0jMiTnIvP40SFwtfKpECr4uvFLkmqgfosZ CenBkwEHxn7mf0XUQSs1fIEOv/PHvOeMRMHek= MIME-Version: 1.0 Received: by 10.142.76.16 with SMTP id y16mr6002806wfa.157.1302583326687; Mon, 11 Apr 2011 21:42:06 -0700 (PDT) Received: by 10.68.54.231 with HTTP; Mon, 11 Apr 2011 21:42:06 -0700 (PDT) In-Reply-To: References: Date: Tue, 12 Apr 2011 12:42:06 +0800 Message-ID: Subject: Re: too many regions cause OME ? From: =?UTF-8?B?6ZmI5Yqg5L+K?= To: Jean-Daniel Cryans Cc: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001636e1fbaf7a40b404a0b15032 X-Virus-Checked: Checked by ClamAV on apache.org --001636e1fbaf7a40b404a0b15032 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes ,I scan (or get or put) rows always . On Tue, Apr 12, 2011 at 10:49 AM, Jean-Daniel Cryans w= rote: > Were they opening the same region by any chance? > > On Mon, Apr 11, 2011 at 6:13 PM, =E9=99=88=E5=8A=A0=E4=BF=8A wrote: > > There is no big scan,and just norma load. Also strange is when one RS > exited > > then another RS exited and others RS like that. > > > > On Tue, Apr 12, 2011 at 8:55 AM, Jean-Daniel Cryans >wrote: > > > >> Ok that looks "fine", did the region server die under heavy load by > >> any chance? Or was it big scans? Or just normal load? > >> > >> J-D > >> > >> On Mon, Apr 11, 2011 at 5:50 PM, =E9=99=88=E5=8A=A0=E4=BF=8A wrote: > >> > my configuration is follows: > >> > > >> > hbase.client.write.buffer > >> > 2097152 > >> > > >> > 1024*1024*2=3D2097152 > >> > > >> > > >> > > >> > hbase.hstore.blockingStoreFiles > >> > 14 > >> > > >> > > >> > hbase.hregion.memstore.block.multiplier > >> > 2 > >> > > >> > > >> > hbase.regionserver.handler.count > >> > 30 > >> > > >> > > >> > zookeeper.session.timeout > >> > 90000 > >> > > >> > > >> > hbase.zookeeper.property.tickTime > >> > 9000 > >> > > >> > > >> > hbase.hregion.max.filesize > >> > 1073741824 > >> > > >> > Maximum HStoreFile size. If any one of a column > families' > >> > HStoreFiles has grown to exceed this value, > >> > the hosting HRegion is split in two. Default: 256M. > >> > 1024*1024*1024=3D1073741824 (1G) > >> > > >> > > >> > > >> > On Tue, Apr 12, 2011 at 8:43 AM, Jean-Daniel Cryans < > jdcryans@apache.org > >> > > >> > wrote: > >> >> > >> >> And where will they go? The issue isn't the number of regions per > say, > >> >> it's the amount of data being served by that region server. Also I > >> >> still don't know if that's really your issue or it's a configuratio= n > >> >> issue (which I have yet to see). > >> >> > >> >> J-D > >> >> > >> >> On Mon, Apr 11, 2011 at 5:41 PM, =E9=99=88=E5=8A=A0=E4=BF=8A wrote: > >> >> > Can I limit the numbers of regions on one RegionServer ? > >> >> > > >> >> > On Tue, Apr 12, 2011 at 8:37 AM, Jean-Daniel Cryans > >> >> > wrote: > >> >> > > >> >> >> It's really a lot yes, but it could also be weird configurations > or > >> >> >> too big values. > >> >> >> > >> >> >> J-D > >> >> >> > >> >> >> On Mon, Apr 11, 2011 at 5:35 PM, =E9=99=88=E5=8A=A0=E4=BF=8A > wrote: > >> >> >> > Is it too many regions ? Is the memory enough ? > >> >> >> > HBase-0.20.6 > >> >> >> > > >> >> >> > 2011-04-12 00:16:31,844 FATAL > >> >> >> > org.apache.hadoop.hbase.regionserver.HRegionServer: > >> OutOfMemoryError, > >> >> >> > aborting. > >> >> >> > java.lang.OutOfMemoryError: Java heap space > >> >> >> > at > >> >> >> java.io.BufferedInputStream.(BufferedInputStream.java:178) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hdfs.DFSClient$BlockReader.newBlockReader(DFSClient.jav= a:1380) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hdfs.DFSClient$DFSInputStream.blockSeekTo(DFSClient.jav= a:1648) > >> >> >> > at > >> >> >> > > >> >> >> > > >> > org.apache.hadoop.hdfs.DFSClient$DFSInputStream.read(DFSClient.java:1767) > >> >> >> > at > >> java.io.DataInputStream.readFully(DataInputStream.java:178) > >> >> >> > at > >> java.io.DataInputStream.readFully(DataInputStream.java:152) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hbase.io.hfile.HFile$FixedFileTrailer.deserialize(HFile= .java:1368) > >> >> >> > at > >> >> >> > > >> >> >> > > >> > org.apache.hadoop.hbase.io.hfile.HFile$Reader.readTrailer(HFile.java:848) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hbase.io.hfile.HFile$Reader.loadFileInfo(HFile.java:793= ) > >> >> >> > at > >> >> >> > > >> >> >> > > >> org.apache.hadoop.hbase.regionserver.StoreFile.open(StoreFile.java:273= ) > >> >> >> > at > >> >> >> > > >> >> >> > > >> > org.apache.hadoop.hbase.regionserver.StoreFile.(StoreFile.java:129) > >> >> >> > at > >> >> >> > > >> >> >> > > >> > org.apache.hadoop.hbase.regionserver.Store.loadStoreFiles(Store.java:410) > >> >> >> > at > >> >> >> org.apache.hadoop.hbase.regionserver.Store.(Store.java:221= ) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hbase.regionserver.HRegion.instantiateHStore(HRegion.ja= va:1636) > >> >> >> > at > >> >> >> > > >> >> >> > > >> > org.apache.hadoop.hbase.regionserver.HRegion.initialize(HRegion.java:321) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hbase.regionserver.HRegionServer.instantiateRegion(HReg= ionServer.java:1566) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hbase.regionserver.HRegionServer.openRegion(HRegionServ= er.java:1533) > >> >> >> > at > >> >> >> > > >> >> >> > >> >> >> > >> > org.apache.hadoop.hbase.regionserver.HRegionServer$Worker.run(HRegionServ= er.java:1453) > >> >> >> > at java.lang.Thread.run(Thread.java:619) > >> >> >> > 2011-04-12 00:16:31,847 INFO > >> >> >> > org.apache.hadoop.hbase.regionserver.HRegionServer: Dump of > >> metrics: > >> >> >> > request=3D0.0, regions=3D1624, stores=3D3075, storefiles=3D252= 6, > >> >> >> > storefileIndexSize=3D374, memstoreSize=3D339, compactionQueueS= ize=3D0, > >> >> >> > usedHeap=3D3990, maxHeap=3D3991, blockCacheSize=3D706107016, > >> >> >> > blockCacheFree=3D131010552, blockCacheCount=3D10631, > >> >> >> > blockCacheHitRatio=3D58, > >> >> >> > fsReadLatency=3D0, fsWriteLatency=3D0, fsSyncLatency=3D0 > >> >> >> > 2011-04-12 00:16:31,848 INFO > >> >> >> > org.apache.hadoop.hbase.regionserver.HRegionServer: worker > thread > >> >> >> > exiting > >> >> >> > > >> >> >> > > >> >> >> > -- > >> >> >> > Thanks & Best regards > >> >> >> > jiajun > >> >> >> > > >> >> >> > >> >> > > >> >> > > >> >> > > >> >> > -- > >> >> > Thanks & Best regards > >> >> > jiajun > >> >> > > >> > > >> > > >> > > >> > -- > >> > Thanks & Best regards > >> > jiajun > >> > > >> > > >> > > > > > > > > -- > > Thanks & Best regards > > jiajun > > > --=20 Thanks & Best regards jiajun --001636e1fbaf7a40b404a0b15032--