Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE9E8CBD7 for ; Mon, 26 May 2014 05:10:26 +0000 (UTC) Received: (qmail 26781 invoked by uid 500); 26 May 2014 05:10:25 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 26716 invoked by uid 500); 26 May 2014 05:10:25 -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 26708 invoked by uid 99); 26 May 2014 05:10:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2014 05:10:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yuzhihong@gmail.com designates 209.85.160.169 as permitted sender) Received: from [209.85.160.169] (HELO mail-yk0-f169.google.com) (209.85.160.169) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2014 05:10:21 +0000 Received: by mail-yk0-f169.google.com with SMTP id 200so5753568ykr.14 for ; Sun, 25 May 2014 22:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+py5YF5y/j9N3pL8c5YOAHAdwXIJwd4nfUrL3Az8pfY=; b=AvhU9ttYOOl8ymwSmfLyzLV6jei7TmXznkE5cPQS1x4mgPesNqHzNry0PLwsNVz8pf ro2PgU8qCc/OEfqkU/gM/YCH5o7JGl7Te8vKKSVB4r5Nkfgt+1fV5V6FKw/KCCBpQqqD jUmSpSDzBmRJ3bUthES3YG1rQecNqHv4DlBbPQxIYHhL37KvN3R3aPsoev2XSrSDqtFH CC7ytG16NWBZE3UmzGzd71HaWq7EUKhPGrNSkayIL69NyvF19JNNWFSfXpywfdTDAdM6 Q8neVGVVtZ4DEZcyQgDPEq7207VfQLoBcyJiQEHxfPPNUU96u22T/HkMKiL/IAS7b55f DpBw== MIME-Version: 1.0 X-Received: by 10.236.160.67 with SMTP id t43mr32169340yhk.11.1401081000669; Sun, 25 May 2014 22:10:00 -0700 (PDT) Received: by 10.170.37.144 with HTTP; Sun, 25 May 2014 22:10:00 -0700 (PDT) In-Reply-To: <002201cf7883$c2d19e00$4874da00$@com> References: <002c01cf7638$a4c7aff0$ee570fd0$@com> <005201cf7650$9251f660$b6f5e320$@com> <002201cf7883$c2d19e00$4874da00$@com> Date: Sun, 25 May 2014 22:10:00 -0700 Message-ID: Subject: =?UTF-8?B?UmU6IOetlOWkjTog562U5aSNOiB3aGF0IGluIHJlZ2lvbnNlcnZlcidzIFVzZWQgSGVhcA==?= From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=20cf304353a858b9a204fa469711 X-Virus-Checked: Checked by ClamAV on apache.org --20cf304353a858b9a204fa469711 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Some metrics2 classes show up in the histogram. I am digging into these classes and polling developers who are more familiar with metrics2 system. FYI On Sun, May 25, 2014 at 6:42 PM, sunweiwei wrot= e: > Hi > > This is jmap -histo result. > num #instances #bytes class name > ---------------------------------------------- > 1: 14917882 3396492464 [C > 2: 1996994 2118021808 [B > > num #instances #bytes class name > ---------------------------------------------- > 1: 14917882 3396492464 [C > 2: 1996994 2118021808 [B > 3: 43341650 1733666000 java.util.LinkedHashMap$Entry > 4: 14453983 1156550896 [Ljava.util.HashMap$Entry; > 5: 14446577 924580928 > org.apache.hadoop.metrics2.lib.Interns$CacheWith2Keys$2 > 6: 14816939 474142048 java.lang.String > 7: 14463510 347124240 > org.apache.hadoop.metrics2.lib.MetricsInfoImpl > 8: 6380066 255202640 org.apache.hadoop.hbase.KeyValue > 9: 7274264 174582336 > java.util.concurrent.ConcurrentSkipListMap$Node > 10: 3412039 81888936 > java.util.concurrent.ConcurrentSkipListMap$Index > 11: 9208 28516704 [I > 12: 259293 26673528 [Ljava.lang.Object; > 13: 424072 20355456 java.nio.HeapByteBuffer > 14: 418655 20095440 java.nio.HeapCharBuffer > 15: 657703 15784872 > org.apache.hadoop.metrics2.impl.MetricGaugeDouble > 16: 589926 14158224 > org.apache.hadoop.metrics2.impl.MetricCounterLong > 17: 522366 12536784 > org.apache.hadoop.metrics2.impl.MetricGaugeLong > 18: 504238 12101712 java.lang.Double > 19: 436872 10484928 com.google.protobuf.LiteralByteString > 20: 72414 9990968 > 21: 72414 9857616 > 22: 55752 9354400 > [Ljava.util.concurrent.ConcurrentHashMap$HashEntry; > 23: 103154 7427088 > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$MutationProto > 24: 145924 7004352 > org.apache.hadoop.hbase.monitoring.MonitoredTaskImpl > 25: 5322 6835120 > 26: 251260 6030240 java.util.ArrayList > 27: 94355 5979040 > 28: 103170 5777520 > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$MutationProto$Co= lumnValue$QualifierValue > 29: 238244 5717856 > java.util.Collections$UnmodifiableRandomAccessList > 30: 130150 5206000 java.util.TreeMap$Entry > 31: 103160 4951680 > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$MutationProto$Co= lumnValue > > > Thanks > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: Ted Yu [mailto:yuzhihong@gmail.com] > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B45=E6=9C=8823=E6=97=A5 = 22:34 > =E6=94=B6=E4=BB=B6=E4=BA=BA: user@hbase.apache.org > =E4=B8=BB=E9=A2=98: Re: =E7=AD=94=E5=A4=8D: what in regionserver's Used H= eap > > You can use jmap with -histo option to find out heap consumption: > http://docs.oracle.com/javase/7/docs/technotes/tools/share/jmap.html > > Please pastebin jmap output. > > Cheers > > > On Thu, May 22, 2014 at 11:30 PM, sunweiwei >wrote: > > > Hi Ted > > > > I have checked regionsever:60030/rs-status#regionMemstoreStats. Memstor= e > > and Cache Size is very small. > > But Used Heap is very large. > > Is there Any other thing in the Used Heap, and use lots of heaps? > > > > Thanks > > > > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > > =E5=8F=91=E4=BB=B6=E4=BA=BA: Ted Yu [mailto:yuzhihong@gmail.com] > > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B45=E6=9C=8823=E6=97= =A5 11:59 > > =E6=94=B6=E4=BB=B6=E4=BA=BA: user@hbase.apache.org > > =E4=B8=BB=E9=A2=98: Re: what in regionserver's Used Heap > > > > On regionsever:60030/rs-status#regionMemstoreStats, you should be able = to > > see how much memstore each region uses. > > > > You can also use ganglia, etc to view the metrics. > > See http://hbase.apache.org/book.html#hbase_metrics (15.4.4.3 and > > 15.4.4.7) > > > > Cheers > > > > > > On Thu, May 22, 2014 at 8:39 PM, sunweiwei > >wrote: > > > > > Hi > > > > > > > > > > > > I'm using hbase0.96. > > > > > > > > > > > > In hbase web, I see : > > > > > > Max Heap is 16.0 G > > > > > > Memstore Size is 208.6 M > > > > > > Cache Size is 138M > > > > > > Cache Free is 6.2G > > > > > > > > > > > > And Used Heap is 10.2 G. > > > > > > > > > > > > Used Heap is large. I want to know what could be in then Used > > Heap. > > > > > > > > > > > > > > > Thanks. > > > > > > > > > > > > --20cf304353a858b9a204fa469711--