You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2021/03/20 00:21:00 UTC
[jira] [Created] (HBASE-25685) asyncprofiler2.0 no longer supports
svg; wants html
Michael Stack created HBASE-25685:
-------------------------------------
Summary: asyncprofiler2.0 no longer supports svg; wants html
Key: HBASE-25685
URL: https://issues.apache.org/jira/browse/HBASE-25685
Project: HBase
Issue Type: Bug
Reporter: Michael Stack
asyncprofiler2.0 is out. Its a nice tool. Unfortunately, it dropped the svg formatting option that we use in our servlet. Now it wants you to pass html. Lets fix.
Old -o on asyncprofiler1.x
-o fmt output format: summary|traces|flat|collapsed|svg|tree|jfr
New -o asyncprofiler 2.x
-o fmt output format: flat|traces|collapsed|flamegraph|tree|jfr
If you pass svg to 2.0, it does nothing ... If you run the command hbase is running you see:
{code}
/tmp/prof-output$ sudo -u hbase /usr/lib/async-profiler/profiler.sh -e cpu -d 10 -o svg -f /tmp/prof-output/async-prof-pid-8346-cpu-1x.svg 8346
[ERROR] SVG format is obsolete, use .html for FlameGraph
{code}
At a minimum can make it so the OUTPUT param supports HTML. Here is current enum state:
{code}
enum Output {
SUMMARY,
TRACES,
FLAT,
COLLAPSED,
SVG,
TREE,
JFR
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)