Patch v1 has been attached to HBASE-11267 Cheers
On Wed, May 28, 2014 at 7:34 PM, sunweiwei <[email protected]> wrote: > Thanks you > > -----邮件原件----- > 发件人: Ted Yu [mailto:[email protected]] > 发送时间: 2014年5月29日 6:06 > 收件人: [email protected] > 主题: Re: 答复: 答复: what in regionserver's Used Heap > > Weiwei: > I logged HBASE-11267 for the heap consumption issue you reported. > > Cheers > > > On Sun, May 25, 2014 at 6:42 PM, sunweiwei <[email protected] > >wrote: > > > 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 <constMethodKlass> > > 21: 72414 9857616 <methodKlass> > > 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 <constantPoolKlass> > > 26: 251260 6030240 java.util.ArrayList > > 27: 94355 5979040 <symbolKlass> > > 28: 103170 5777520 > > > > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$MutationProto$ColumnValue$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$ColumnValue > > > > > > Thanks > > -----邮件原件----- > > 发件人: Ted Yu [mailto:[email protected]] > > 发送时间: 2014年5月23日 22:34 > > 收件人: [email protected] > > 主题: Re: 答复: what in regionserver's Used Heap > > > > 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 <[email protected] > > >wrote: > > > > > Hi Ted > > > > > > I have checked regionsever:60030/rs-status#regionMemstoreStats. > Memstore > > > 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 > > > > > > -----邮件原件----- > > > 发件人: Ted Yu [mailto:[email protected]] > > > 发送时间: 2014年5月23日 11:59 > > > 收件人: [email protected] > > > 主题: 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 <[email protected] > > > >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. > > > > > > > > > > > > > > > > > > > >
