You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Xiaolin Ha (Jira)" <ji...@apache.org> on 2021/06/08 06:11:00 UTC

[jira] [Created] (HBASE-25981) JVM crash when displaying regionserver UI

Xiaolin Ha created HBASE-25981:
----------------------------------

             Summary: JVM crash when displaying regionserver UI
                 Key: HBASE-25981
                 URL: https://issues.apache.org/jira/browse/HBASE-25981
             Project: HBase
          Issue Type: Bug
          Components: rpc, UI
    Affects Versions: 2.0.0, 3.0.0-alpha-1
            Reporter: Xiaolin Ha
            Assignee: Xiaolin Ha
         Attachments: hs_err_pid116190.log-gha-data-hbase-cat0085-ui

The MonitoredRPCHandlerImpl refers to the params of a request, and will show them when we call 'toJson()'. But the running RPC call may be cleaned up and the ByteBuffer be released  before the displaying in UI.  We need to let the life cycle of RPC status monitor be inner the life cycle of RPC.
{code:java}
J 19267 C2 org.apache.hbase.thirdparty.com.google.protobuf.TextFormat$Printer.printMessage(Lorg/apache/hbase/thirdparty/com/google/protobuf/MessageOrBuilder;Lorg/apache/hbase/thirdparty/com/google/protobuf/TextFormat$TextGenerator;)V (73 bytes) @ 0x00007f1ac7e54640 [0x00007f1ac7e53f60+0x6e0]
J 20932 C2 org.apache.hbase.thirdparty.com.google.protobuf.TextFormat$Printer.print(Lorg/apache/hbase/thirdparty/com/google/protobuf/MessageOrBuilder;Lorg/apache/hbase/thirdparty/com/google/protobuf/TextFormat$TextGenerator;)V (34 bytes) @ 0x00007f1ac68ab9b0 [0x00007f1ac68ab880+0x130]
J 21843 C1 org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessage.toString()Ljava/lang/String; (8 bytes) @ 0x00007f1ac620e14c [0x00007f1ac620dba0+0x5ac]
J 21835 C1 org.apache.hadoop.hbase.monitoring.MonitoredRPCHandlerImpl.toMap()Ljava/util/Map; (240 bytes) @ 0x00007f1ac5009bf4 [0x00007f1ac50071c0+0x2a34]
J 21833 C1 org.apache.hadoop.hbase.monitoring.MonitoredRPCHandlerImpl.toJSON()Ljava/lang/String; (5 bytes) @ 0x00007f1ac74efb74 [0x00007f1ac74efaa0+0xd4]
j  org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmplImpl.renderNoFlush(Ljava/io/Writer;)V+259
j  org.apache.hadoop.hbase.tmpl.common.TaskMonitorTmpl.renderNoFlush(Ljava/io/Writer;)V+16
j  org.apache.hadoop.hbase.tmpl.regionserver.RSStatusTmplImpl.renderNoFlush(Ljava/io/Writer;)V+129
{code}
[^hs_err_pid116190.log-gha-data-hbase-cat0085-ui]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)